I did have PAR 0.952 installed from CPAN. I tried to install 0.959 from the CPAN
shell and encountered two problems I've not seen before. I've worked around to
get successful tests and installs.

Problem 1 -- Many tests fail with errors like this:
# [430]
# Test 10_0 The command string "c:\perl\bin\perl.exe  out_pl.pl " in directory C
:\DOCUME~1\steven\LOCALS~1\Temp\pp_switch_tests\temp1,did not produce :: "hello"
 ::
# Instead, it produced :: sitecustomize.pl did not return a true value at
C:\Perl\cpan\build\PAR-0.959\blib\script\par.pl line 318. ::
# End of [430] results

My workaround:
I have edited the file c:\perl\site\lib\sitecustomize.pl, and added a new line
at the bottom, so that the file now looks like this ...

# empty sitecustomize.pl file
1; # Added otherwise PAR tests fail.

Problem 2 -- PAR cannot be built using the environment supplied by Visual Studio
2005.

If I start the CPAN shell from a command prompt with the Visual Studio 2005
environment, The compilation finishes with these lines:
        c:\Perl\bin\perl.exe parlsig.pl .\static.exe .\par.exe 1 30000
        .\static.exe -I"C:/Perl/cpan/build/PAR-0.959/inc" -I"C:/Program
Files/ActiveState Perl Dev Kit 6.0/lib" -I"c:/Perl/site/lib" -I"c:/Perl/lib"
-I"C:/Perl/
cpan/build/PAR-0.959" -I"." -I../myldr/.. -I../blib/lib -q -B 
-O..\script\parl.exe
NMAKE : fatal error U1077: '.\static.exe' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.EXE"' : return code '0x2'

Also, an error in a popup stating that static.exe requires the file msvcr80.dll
which cannot be found.

My workaround: start the CPAN shell with the environment for my Visual C++ 6
install instead. Perhaps copying msvcr80.dll from
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
to Windows\System32 would have worked too!

I hope this is interesting,
Steven

Reply via email to