Scott Gifford <[EMAIL PROTECTED]> writes: > Hello, > > I'm trying to package a Perl program I've written for Windows. When I > run the resulting .EXE file, I get an error like this: > > mkdir > C:\DOCUME~1\gifford\LOCALS~1\Temp\par-gifford\cache-c15e00d2627c3c98fefdf604dd47c0b5654aaf90/inc/lib/C:/: > Invalid argument at C:/Perl/site/lib/Archive/Zip.pm line 659 > > I'm packaging it by running: > > pp -c -l libeay32.dll -l ssleay32.dll -o whereabouts.par -p > bin/whereabouts > > I'm running PAR 0.956 and Perl 5.8.8 on Windows 2000.
Looking more closely, pp seems to be packaging the files like this: Archive: whereabouts.par Length Method Size Ratio Date Time CRC-32 Name -------- ------ ------- ----- ---- ---- ------ ---- 0 Stored 0 0% 10/16/06 23:25 00000000 lib/ 0 Stored 0 0% 10/16/06 23:25 00000000 shlib/MSWin32-x86-mult i-thread/ 0 Stored 0 0% 10/16/06 23:25 00000000 script/ 4331 Defl:N 963 78% 10/16/06 23:25 936ae068 MANIFEST 221 Defl:N 164 26% 10/16/06 23:25 f0d46f08 META.yml 6483 Defl:N 2222 66% 10/16/06 23:25 19592e69 lib/ActivePerl/Config.pm 4511 Defl:N 1555 66% 10/16/06 23:25 8d6a49f9 lib/ActiveState/Path.pm 0 Stored 0 0% 03/20/06 17:55 00000000 lib/C:/Perl/lib/auto/Cwd/Cwd.bs 20571 Defl:N 3208 84% 03/20/06 17:55 4e69f8ec lib/C:/Perl/lib/auto/Cwd/Cwd.dll 0 Stored 0 0% 03/20/06 17:59 00000000 lib/C:/Perl/lib/auto/IO/IO.bs 24665 Defl:N 5445 78% 03/20/06 17:59 2c550ddd lib/C:/Perl/lib/auto/IO/IO.dll 0 Stored 0 0% 03/20/06 17:59 00000000 lib/C:/Perl/lib/auto/List/Util/Util.bs ... My PERL5LIB is: E:\prog\EZFilter-workspace\EZFilter\perl\blib\lib and Perl reports this as the compiled-in @INC: @INC: E:\prog\EZFilter-workspace\EZFilter\perl\blib\lib C:/Perl/lib C:/Perl/site/lib . I bet it's those C:'s creeping in that's causing the problem. Any idea how to get them out? Thanks again! ----Scott.