trizub schrieb:
When I try to do convert to a .exe with the command:
pp -d test.pl
I get either:
Errno architecture (MSWin32-x86-multi-thread-4.0) does not match
executable arch
itecture (MSWin32-x86-multi-thread-5.0) at C:/aperl58/lib/Errno.pm line
11.
Compilation failed in require at C:/aperl58/site/lib/File/Temp.pm line
138.
BEGIN failed--compilation aborted at C:/aperl58/site/lib/File/Temp.pm
line 138.
Compilation failed in require at C:/aperl58/site/lib/Archive/Zip.pm
line 26.
BEGIN failed--compilation aborted at C:/aperl58/site/lib/Archive/Zip.pm
line 26.
Compilation failed in require at -e line 311.
or:
Undefined subroutine &DynaLoader::bootstrap called at
D:/cpanrun/build/5-8-0/lib/XSLoader.pm line 111.
Compilation failed in require at
D:/cpanrun/build/5-8-0/lib/IO/Handle.pm line 256.
BEGIN failed--compilation aborted at
D:/cpanrun/build/5-8-0/lib/IO/Handle.pm line 256.
Compilation failed in require at
D:/cpanrun/build/5-8-0/lib/IO/Seekable.pm line101.
BEGIN failed--compilation aborted at
D:/cpanrun/build/5-8-0/lib/IO/Seekable.pm line 101.
Compilation failed in require at D:/cpanrun/build/5-8-0/lib/IO/File.pm
line 112.
BEGIN failed--compilation aborted at
D:/cpanrun/build/5-8-0/lib/IO/File.pm line112.
Compilation failed in require at -e line 305.
depending on the combination of PAR version (0.85, 0.90) and Perl build
(5.8.8.817, 5.8.8.819) I use. test.pl consists of:
print "test\n";
Any ideas?
Yes. Where are you installing PAR from? The current PAR version is
0.957. It seems like you're installing via ppm from the ActiveState PPM
repository. That version of PAR is not only severely outdated, but might
also include copies of XS modules which aren't compatible to the ones
you have installed.
Please try installing PAR from the bribes.org repository (which is at
least always up-to-date) or from CPAN and retry. If you're still getting
errors, please post again with details on your architecture and
Windows version.
Hope this helps.
Steffen