Subject: | Directly created executables not working |
Hi,
I'm newbie to both perl and PAR.
I'm simply trying to take a sample CPAN package and test the
capability of PAR to create a perl executable in a MS Windows
environment. If I am missing a step to correctly use PAR, please
indicate this. Thank You.
Distribution name and version:
ActivePerl-5.8.8.819-MSWin32-x86-267479.msi
PAR-0.952.tar.gz
Crypt-RandPasswd-0.02.tar.gz
Perl version: v5.8.8
Operating System vendor and version: Microsoft XP SP2
Exact cut and pasted error or warning messages:
Can't locate Getopt/Long.pm in @INC (@INC contains lib CODE(0x1081d10)
c:\DOCUME~1\DBJELLQU\LOCALS~1\Temp\par-DBJELLQU\cache-1155766096/inc
CODE(0xfff3d8) . CODE(0xfff4f8)) at lib/Crypt/RandPasswd.pm line 2487.
BEGIN failed--compilation aborted at lib/Crypt/RandPasswd.pm line 2487.
Compilation failed in require at script/test.pl line 12.
The shortest, clearest code you can manage to write which reproduces
the bug described:
pp -o test.exe test.pl (test.pl is exactly as distributed in Crypt-
RandPasswd-0.02.tar.gz and does generate an .exe file)
test.exe (exe produces an error message)
Note: This appears to be essentially the same bug as "Directly created
executables not working, but executables created through par-archives
work", but I included my steps for getting this error. Sorry if I
double-posted on this.