Posted on 2009-07-16 02:31:54-07 by freemanofchina
The nmake test fails on Windows by using VS2008
I downloaded Socket6 0.23 and did the build on Windows by using VS2008. The build passed but the test failed as follows. E:\Socket6-0.23>nmake test Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. C:\buildtools\archdep\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_ harness(0, 'blib\lib', 'blib\arch')" t/*.t t/use....Can't load 'E:\cloverrel\cloverleaf-external\Socket6-0.23\blib\arch/aut o/Socket6/Socket6.dll' for module Socket6: load_file:The specified procedure cou ld not be found at C:/buildtools/archdep/lib/perl5/DynaLoader.pm line 226. at t/use.t line 37 Compilation failed in require at t/use.t line 37. BEGIN failed--compilation aborted at t/use.t line 37. t/use....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/use.t 2 512 3 6 1-3 Failed 1/1 test scripts. 3/3 subtests failed. Files=1, Tests=3, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/1 test programs. 3/3 subtests failed. NMAKE : fatal error U1077: 'C:\buildtools\archdep\bin\perl.exe' : return code '0 x2' Stop. E:\Socket6-0.23>ls C:/buildtools/archdep/lib/perl5/auto/Socket6/Socket6.dll C:/buildtools/archdep/lib/perl5/auto/Socket6/Socket6.dll E:\Socket6-0.23>perl -v This is perl, v5.8.9 built for MSWin32-x86-multi-thread Copyright 1987-2008, Larry Wall It seems that the dll library is correct and everything is OK. But ...
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.