Start 2009-06-13T23:55:37 ActivePerl-1003 CPAN-1.94 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64\site\bin;C:\Perl64\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~2\Perforce\;C:\WINDOWS\system32\WINDOW~1\v1.0 Going to read 'C:\cpanfly\var\cpan\Metadata' Database was generated on Sat, 13 Jun 2009 09:27:03 GMT Running make for D/DM/DMCBRIDE/DB2-db-0.22.tar.gz Checksum for C:\cpanfly\var\cpan\sources\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 >>> C:\Perl64\bin\perl.exe 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 C:\cpanfly\var\cpan\sources\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 >>> C:\Perl64\bin\perl.exe 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[C:\Perl64\bin\perl.exe Makefile.PL] IBMTORDB2/DBD-DB2-1.71.tar.gz C:\Perl64\bin\perl.exe 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 C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg 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 'C:\Perl64\bin\perl.exe Makefile.PL' returned status 512'. Continuing, but chances to succeed are limited. >>> C:\Perl64\bin\perl.exe ./Build Copying lib\DB2\Table.pm -> blib\lib\DB2\Table.pm Copying lib\DB2\db.pm -> blib\lib\DB2\db.pm Copying lib\DB2\Row.pm -> blib\lib\DB2\Row.pm Manifying blib\lib/DB2/Row.pm -> blib\libdoc\DB2.Row.3 Manifying blib\lib/DB2/Table.pm -> blib\libdoc\DB2.Table.3 Manifying blib\lib/DB2/db.pm -> blib\libdoc\DB2.db.3 HTMLifying blib\lib\DB2\Row.pm -> blib\libhtml\site\lib\DB2\Row.html HTMLifying blib\lib\DB2\Table.pm -> blib\libhtml\site\lib\DB2\Table.html HTMLifying blib\lib\DB2\db.pm -> blib\libhtml\site\lib\DB2\db.html DMCBRIDE/DB2-db-0.22.tar.gz C:\Perl64\bin\perl.exe ./Build -- OK Running Build test >>> C:\Perl64\bin\perl.exe ./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: C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\arch C:\cpanfly\var\megalib C:/cpanfly/var/megalib C:/cpanfly/var/megalib C:/Perl64/site/lib C:/Perl64/lib .) at (eval 10) line 2. # BEGIN failed--compilation aborted at (eval 10) line 2. Useless use of string in void context at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\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 C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 609 (#1) # Failed test 'no warnings' # at C:\cpanfly\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 C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 609. # at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 609 # require DB2/db.pm called at (eval 11) line 2 # main::BEGIN() called at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # eval {...} called at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # eval 'package main; # use DB2::db @{$args[0]}; # 1; # # ;' called at C:\cpanfly\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(0x2b9e088)') called at C:\cpanfly\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 C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # eval {...} called at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # # ---------- # Previous test 1 'use DBD::DB2;' # Useless use of a constant in void context at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 609. # at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 609 # require DB2/db.pm called at (eval 11) line 2 # main::BEGIN() called at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # eval {...} called at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # eval 'package main; # use DB2::db @{$args[0]}; # 1; # # ;' called at C:\cpanfly\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(0x2b9e088)') called at C:\cpanfly\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 C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib/DB2/db.pm line 612 # eval {...} called at C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\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: C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\samples C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\lib C:\cpanfly\var\cpan\build\DB2-db-0.22-bA4kjg\blib\arch C:\cpanfly\var\megalib C:/cpanfly/var/megalib C:/Perl64/site/lib C:/Perl64/lib .) at (eval 13) line 2. # BEGIN failed--compilation aborted at (eval 13) line 2. The getpwnam function is unimplemented at t\003_my.t line 18. # Looks like you planned 24 tests but ran 2. # Looks like you failed 1 test of 2 run. # Looks like your test exited with 255 just after 2. t\003_my.t ..... 1..24 not ok 1 - use My::db; ok 2 - no warnings Dubious, test returned 255 (wstat 65280, 0xff00) Failed 23/24 subtests 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: 65280 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 24 tests but ran 2. Files=2, Tests=8, 1 wallclock secs ( 0.05 usr + 0.05 sys = 0.09 CPU) Result: FAIL Failed 2/2 test programs. 3/8 subtests failed. DMCBRIDE/DB2-db-0.22.tar.gz C:\Perl64\bin\perl.exe ./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-13T23:55:50