Lloyd Sartor wrote on 04/11/2005 10:01:15 AM: > "Sisyphus" <[EMAIL PROTECTED]> wrote on 04/08/2005 05:23:42 PM: > > I get an unusual error: Can't open perl script "and" when testing. > > $ perl makefile.pl > This will configure and build Inline::C++. > What default C++ compiler would you like to use? [cl -TP] > What default libraries would you like to include? [MSVCIRT.LIB] > Writing Makefile for Inline::CPP::grammar > Writing Makefile for Inline::CPP > > $ nmake test > > Microsoft (R) Program Maintenance Utility Version 7.10.3077 > Copyright (C) Microsoft Corporation. All rights reserved. > > Skip blib\lib\Inline\CPP.pm (unchanged) > Skip blib\lib\Inline\CPP.pod (unchanged) > C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'bl > ib\lib', 'blib\arch')" t\01basic.t t\02prefix.t > t\01basic.....Can't open perl script "and": No such file or directory > Failed to autogenerate C:\Documents and Settings\a1027277\My > Documents\Perl\Inli > ne-CPP\Inline-CPP-0.25\_Inline\config. > > at t\01basic.t line 30 > BEGIN failed--compilation aborted at t\01basic.t line 64. > t\01basic.....dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 1-10 > Failed 10/10 tests, 0.00% okay > t\02prefix....Can't open perl script "and": No such file or directory > Failed to autogenerate C:\Documents and Settings\a1027277\My > Documents\Perl\Inli > ne-CPP\Inline-CPP-0.25\_Inline\config. > > at t\02prefix.t line 0 > INIT failed--call queue aborted, <DATA> line 1. > t\02prefix....dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 1-4 > Failed 4/4 tests, 0.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t\01basic.t 2 512 10 20 200.00% 1-10 > t\02prefix.t 2 512 4 8 200.00% 1-4 > Failed 2/2 test scripts, 0.00% okay. 14/14 subtests failed, 0.00% okay. > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2' > Stop. >
I was bitten by MS directory names that include spaces. After fixing that and updating the $INCLUDE environment variable, Inline::CPP tested ok. Rob, thanks for the guidance. Lloyd $ nmake test Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. Skip blib\lib\Inline\CPP.pm (unchanged) Skip blib\lib\Inline\CPP.pod (unchanged) C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl ib\lib', 'blib\arch')" t\01basic.t t\02prefix.t t\01basic.....ok t\02prefix....ok All tests successful. Files=2, Tests=14, 28 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '.. \blib\lib', '..\blib\arch')" t\01nherit.t t\02scope.t t\03inline.t t\04const.t t \05virt.t t\06deflt.t t\07static.t t\08anon.t t\09purevt.t t\10struct.t t\11minh rt.t t\12retlst.t t\13vararg.t t\14const.t t\15stvar.t t\16varlst.t t\01nherit....ok t\02scope.....ok t\03inline....ok t\04const.....ok t\05virt......ok t\06deflt.....ok t\07static....ok t\08anon......ok t\09purevt....ok t\10struct....ok t\11minhrt....ok t\12retlst....ok t\13vararg....ok t\14const.....ok t\15stvar.....ok t\16varlst....ok All tests successful. Files=16, Tests=34, 118 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs