This is to report that PAR 0.960 installs and works fine on Windows XP
SP2, Active State perl v5.8.8 build 819, after modifying
t/30-current_exec.t as reported.
The problems I previously reported about Time::Local were fixed by
installing the latest Time::Local from CPAN.
Thanks
Malcolm Nooning wrote:
Hello,
I did a new install of perl v5.8.8 build 819 [267479]
I then obtained the PAR 0.960 and, as I use the MinGW compiler, I did
perl -MConfig_m Makefile.PL
nmake
nmake test
The test first failed because of a noted "space in windows path"
problem in t/30-current_exec.t at line 39. Fixing this amounted to
the extra quotes and slash-quotes in the two lines of
t/30-current_exec.t shown below.
------------paste
system( "\"$PP\" -o \"$EXEC\" \"$test_proc\"" );
ok( (-f "$EXEC"), "Created $EXEC" )
or die "Failed to create \"$EXEC\"!\n";
--------------end paste
I then did
nmake clean
perl -MConfig_m Makefile.PL
nmake
Then I tried again and it passes all tests, but shows quite a bit of
warning message due to the Use of uninitialized value in integer
addition (+) at C:/perl/site/lib/Time/Local.pm line 76.
Are we sending Time::Local something we should not?
---------------begin paste
t/20-pp.................ok 33/34Set up gcc environment - 3.4.2
(mingw-special)
Set up gcc environment - 3.4.2 (mingw-special)
Set up gcc environment - 3.4.2 (mingw-special)
t/20-pp.................ok
t/30-current_exec.......# Please wait
Set up gcc environment - 3.4.2 (mingw-special)
t/30-current_exec.......ok
1/4 skipped: Can't get running executable that isn't in PATH on
MSWin32
t/40-par-hashref........ok 1/7Use of uninitialized value in integer
addition (+) at C:/perl/site/lib/Time/Local.pm line 76.
Use of uninitialized value in integer multiplication (*) at
C:/perl/site/lib/Time/Local.pm line 76.
Use of uninitialized value in integer multiplication (*) at
C:/perl/site/lib/Time/Local.pm line 76.
........EDITED OUT A LOT OF uninitialized MESSAGES ............
t/40-par-hashref........ok
All tests successful, 1 test and 1 subtest skipped.
Files=6, Tests=84, 190 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
CPU)
C:\perl\bin\perl.exe -e1
C:\Documents and Settings\All
Users\Documents\webdownload\perl\par\PAR-0.960>
--------------end paste
Anyone know what that " Can't get running executable that isn't in
PATH ... " business is about? Is it something to be concerned about?
Um, by the way, now that I installed a new perl, my old par is no
longer good so I did an "nmake install". A simple
pp -o hello.exe hello.pl
works just fine.
>pp -V
Set up gcc environment - 3.4.2 (mingw-special)
Perl Packager, version 0.17 (PAR version 0.960)
Copyright 2002, 2003, 2004, 2005, 2006 by Audrey Tang
<[EMAIL PROTECTED]>
Thanks