Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2009-06-20T22:35:35 ActivePerl-1003 CPAN-1.94 Going to read '/export/home/fly1064/var/cpan/Metadata' Database was generated on Sat, 20 Jun 2009 10:26:57 GMT Running make for D/DM/DMCBRIDE/DB2-db-0.22.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DM/DMCBRIDE/DB2-db-0.22.tar.gz ok DB2-db-0.22/ DB2-db-0.22/Build.PL DB2-db-0.22/Changes DB2-db-0.22/LICENSE DB2-db-0.22/MANIFEST DB2-db-0.22/META.yml DB2-db-0.22/README DB2-db-0.22/TODO DB2-db-0.22/db/ DB2-db-0.22/db/TableCreator.pm DB2-db-0.22/lib/ DB2-db-0.22/lib/DB2/ DB2-db-0.22/lib/DB2/Row.pm DB2-db-0.22/lib/DB2/Table.pm DB2-db-0.22/lib/DB2/db.pm DB2-db-0.22/t/ DB2-db-0.22/t/001_basic.t DB2-db-0.22/t/003_my.t CPAN.pm: Going to build D/DM/DMCBRIDE/DB2-db-0.22.tar.gz >>> /export/home/fly1064/bin/perl Build.PL - ERROR: DBD::DB2 is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'DB2-db' version '0.22' ---- Unsatisfied dependencies detected during ---- ---- DMCBRIDE/DB2-db-0.22.tar.gz ---- DBD::DB2 [requires] Running Build test Delayed until after prerequisites Running test for module 'DBD::DB2' Running make for I/IB/IBMTORDB2/DBD-DB2-1.71.tar.gz Checksum for /net/nas/data/cpan/authors/id/I/IB/IBMTORDB2/DBD-DB2-1.71.tar.gz ok DBD-DB2-1.71/ DBD-DB2-1.71/dbdimp.c DBD-DB2-1.71/DB2.pm DBD-DB2-1.71/README DBD-DB2-1.71/META.yml DBD-DB2-1.71/DB2.xs DBD-DB2-1.71/lib/ DBD-DB2-1.71/lib/Bundle/ DBD-DB2-1.71/lib/Bundle/DBD/ DBD-DB2-1.71/lib/Bundle/DBD/DB2.pm DBD-DB2-1.71/test.pl DBD-DB2-1.71/HISTORY DBD-DB2-1.71/DB2.h DBD-DB2-1.71/t/ DBD-DB2-1.71/t/main.t DBD-DB2-1.71/t/base.t DBD-DB2-1.71/DB2.pod DBD-DB2-1.71/LICENSE DBD-DB2-1.71/dbdimp.h DBD-DB2-1.71/CAVEATS DBD-DB2-1.71/Changes DBD-DB2-1.71/Makefile.PL DBD-DB2-1.71/Constants/ DBD-DB2-1.71/Constants/Constants.xs DBD-DB2-1.71/Constants/Constants.pm DBD-DB2-1.71/Constants/Makefile.PL DBD-DB2-1.71/Constants/MANIFEST DBD-DB2-1.71/MANIFEST CPAN.pm: Going to build I/IB/IBMTORDB2/DBD-DB2-1.71.tar.gz >>> /export/home/fly1064/bin/perl Makefile.PL DB2_HOME environment variable must be set to installed location of DB2. Configuring DBD::DB2... Remember to actually read the README and CAVEATS files! Warning: No success on command[/export/home/fly1064/bin/perl Makefile.PL] IBMTORDB2/DBD-DB2-1.71.tar.gz /export/home/fly1064/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running Build for D/DM/DMCBRIDE/DB2-db-0.22.tar.gz Has already been unwrapped into directory /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1 CPAN.pm: Going to build D/DM/DMCBRIDE/DB2-db-0.22.tar.gz Warning: Prerequisite 'DBD::DB2 => 0.78' for 'DMCBRIDE/DB2-db-0.22.tar.gz' failed when processing 'IBMTORDB2/DBD-DB2-1.71.tar.gz' with 'writemakefile => NO '/export/home/fly1064/bin/perl Makefile.PL' returned status 512'. Continuing, but chances to succeed are limited. >>> ./Build Copying lib/DB2/db.pm -> blib/lib/DB2/db.pm Copying lib/DB2/Row.pm -> blib/lib/DB2/Row.pm Copying lib/DB2/Table.pm -> blib/lib/DB2/Table.pm Manifying blib/lib/DB2/Table.pm -> blib/libdoc/DB2::Table.3 Manifying blib/lib/DB2/Row.pm -> blib/libdoc/DB2::Row.3 Manifying blib/lib/DB2/db.pm -> blib/libdoc/DB2::db.3 HTMLifying blib/lib/DB2/Table.pm -> blib/libhtml/site/lib/DB2/Table.html HTMLifying blib/lib/DB2/Row.pm -> blib/libhtml/site/lib/DB2/Row.html HTMLifying blib/lib/DB2/db.pm -> blib/libhtml/site/lib/DB2/db.html DMCBRIDE/DB2-db-0.22.tar.gz ./Build -- OK Running Build test >>> ./Build test verbose=1 # Failed test 'use DBD::DB2;' # at t/001_basic.t line 8. # Tried to use 'DBD::DB2'. # Error: Can't locate DBD/DB2.pm in @INC (@INC contains: /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/arch /export/home/fly1064/var/megalib /export/home/fly1064/var/megalib /export/home/fly1064/ap1003/site/lib /export/home/fly1064/ap1003/lib .) at (eval 9) line 2. # BEGIN failed--compilation aborted at (eval 9) line 2. Useless use of string in void context at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 609 (#1) (W void) You did something without a side effect in a context that does nothing with the return value, such as a statement that doesn't return a value from a block, or the left side of a scalar comma operator. Very often this points not to stupidity on your part, but a failure of Perl to parse your program the way you thought it would. For example, you'd get this if you mixed up your C precedence with Python precedence and said $one, $two = 1, 2; when you meant to say ($one, $two) = (1, 2); Another common error is to use ordinary parentheses to construct a list reference when you should be using square or curly brackets, for example, if you say $array = (1,2); when you should have said $array = [1,2]; The square brackets explicitly turn a list value into a scalar value, while parentheses do not. So when a parenthesized list is evaluated in a scalar context, the comma is treated like C's comma operator, which throws away the left argument, which is not what you want. See perlref for more on this. This warning will not be issued for numerical constants equal to 0 or 1 since they are often used in statements like 1 while sub_with_side_effects(); String constants that would normally evaluate to 0 or 1 are warned about. Useless use of a constant in void context at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 609 (#1) # Failed test 'no warnings' # at /export/home/fly1064/var/megalib/Test/NoWarnings.pm line 45. # There were 2 warning(s) # Previous test 1 'use DBD::DB2;' # Useless use of string in void context at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 609. # at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 609 # require DB2/db.pm called at (eval 10) line 2 # main::BEGIN() called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # eval {...} called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # eval 'package main; # use DB2::db @{$args[0]}; # 1; # # ;' called at /export/home/fly1064/var/megalib/Test/More.pm line 805 # Test::More::_eval('package main;\x{a}use DB2::db @{$args[0]};\x{a}1;\x{a}', 'ARRAY(0x1003c4388)') called at /export/home/fly1064/var/megalib/Test/More.pm line 780 # Test::More::use_ok('DB2::db') called at t/001_basic.t line 10 # main::BEGIN() called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # eval {...} called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # # ---------- # Previous test 1 'use DBD::DB2;' # Useless use of a constant in void context at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 609. # at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 609 # require DB2/db.pm called at (eval 10) line 2 # main::BEGIN() called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # eval {...} called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # eval 'package main; # use DB2::db @{$args[0]}; # 1; # # ;' called at /export/home/fly1064/var/megalib/Test/More.pm line 805 # Test::More::_eval('package main;\x{a}use DB2::db @{$args[0]};\x{a}1;\x{a}', 'ARRAY(0x1003c4388)') called at /export/home/fly1064/var/megalib/Test/More.pm line 780 # Test::More::use_ok('DB2::db') called at t/001_basic.t line 10 # main::BEGIN() called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # eval {...} called at /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib/DB2/db.pm line 612 # # Looks like you failed 2 tests of 6. t/001_basic.t .. 1..6 not ok 1 - use DBD::DB2; ok 2 - use DB2::db; ok 3 - use DB2::Table; ok 4 - use DB2::Row; ok 5 - DB2::db->can('new') not ok 6 - no warnings Dubious, test returned 2 (wstat 512, 0x200) Failed 2/6 subtests # Failed test 'use My::db;' # at t/003_my.t line 14. # Tried to use 'My::db'. # Error: Can't locate My/db.pm in @INC (@INC contains: /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/t/../samples /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/lib /export/home/fly1064/var/cpan/build/DB2-db-0.22-MYfzi1/blib/arch /export/home/fly1064/var/megalib /export/home/fly1064/ap1003/site/lib /export/home/fly1064/ap1003/lib .) at (eval 11) line 2. # BEGIN failed--compilation aborted at (eval 11) line 2. # Failed test 'Instance probably exists' # at t/003_my.t line 20. # Failed test 'My::db->can('new')' # at t/003_my.t line 21. # My::db->can('new') failed # Failed test 'no warnings' # at /export/home/fly1064/var/megalib/Test/NoWarnings.pm line 45. # There were 1 warning(s) # Previous test 1 'use My::db;' # Use of uninitialized value $instance in getpwnam at t/003_my.t line 18. # at t/003_my.t line 18 # # Looks like you planned 24 tests but ran 22. # Looks like you failed 4 tests of 22 run. t/003_my.t ..... 1..24 not ok 1 - use My::db; not ok 2 - Instance probably exists not ok 3 - My::db->can('new') ok 4 # skip No instance - can't do anything ok 5 # skip No instance - can't do anything ok 6 # skip No instance - can't do anything ok 7 # skip No instance - can't do anything ok 8 # skip No instance - can't do anything ok 9 # skip No instance - can't do anything ok 10 # skip No instance - can't do anything ok 11 # skip No instance - can't do anything ok 12 # skip No instance - can't do anything ok 13 # skip No instance - can't do anything ok 14 # skip No instance - can't do anything ok 15 # skip No instance - can't do anything ok 16 # skip No instance - can't do anything ok 17 # skip No instance - can't do anything ok 18 # skip No instance - can't do anything ok 19 # skip No instance - can't do anything ok 20 # skip No instance - can't do anything ok 21 # skip No instance - can't do anything not ok 22 - no warnings Dubious, test returned 4 (wstat 1024, 0x400) Failed 6/24 subtests (less 18 skipped subtests: 0 okay) Test Summary Report ------------------- t/001_basic.t (Wstat: 512 Tests: 6 Failed: 2) Failed tests: 1, 6 Non-zero exit status: 2 t/003_my.t (Wstat: 1024 Tests: 22 Failed: 4) Failed tests: 1-3, 22 Non-zero exit status: 4 Parse errors: Bad plan. You planned 24 tests but ran 22. Files=2, Tests=28, 1 wallclock secs ( 0.12 usr 0.02 sys + 0.89 cusr 0.08 csys = 1.11 CPU) Result: FAIL Failed 2/2 test programs. 6/28 subtests failed. DMCBRIDE/DB2-db-0.22.tar.gz ./Build test verbose=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DMCBRIDE/DB2-db-0.22.tar.gz Finished 2009-06-20T22:35:47