Radomir Hejl wrote
|Hello,
|sorry to reply that late but couldn't be back earlier.
|First I installed Perl 5.8.7. Also PAR 0.89 as ppm> install
|http://www.bribes.org/perl/ppm/PAR.ppd.
|I don't know what's the installation procedure with
|PAR-0.89-MSWin32-x86-multi-thread-5.8.7.par. Could you detail?
|
|When I execute a packed script I get:
|Can't load
|'C:\DOCUME~1\radek\LOCALS~1\Temp\par-radek\cache-1127310712\7e4f5644.dll'
|for module Encode
| at ../blib/lib/PAR/Heavy.pm line 107
|Compilation failed in require at Tk.pm line 21.
|BEGIN failed--compilation aborted at Tk.pm line 21.
|Compilation failed in require at script/test.pl line 2.
|BEGIN failed--compilation aborted at script/test.pl line 2.
|
|And a warning from OS:
|"The procedure entry point PL_memory_wrap coult not be located in the
|dynamic link library perl58.dll"
|
|Any ideas about not being able to run the packed exe? Encode module is
|part of the core Perl installation, so it can't be missing.
|I knew about the PL_memory_wrap issue from the discussion so I tried to
|avoid to install Perl 5.8.7 before. I also tried PAR 0.89 with Perl 5.8.6
|but the test exe crashed.
|
|BTW I'd think one doesn't need to include db file in the package (exe
|works if you don't exceed some amount of saved text), it could possibly be
|e.g. an oracle database.
|
|I will further investigate before responding to [EMAIL PROTECTED]
|
|Regards Radek

> http://www.bribes.org/perl/ppm/PAR.ppd
The bribes.org PAR was the one that is reportedly suspect.

Try another make clean, and then go to
  http://search.cpan.org/~autrijus/PAR-0.89/
and mouse click on "Download", and save to disk.
cd to the download directory.
Unzip, untar
cd to the PAR-0.89 directory
Perl Makefile.PL

Note: The last step will result in an automatic fetch of 'PAR-0.89-MSWin32-x86-multi-thread-5.8.7.par' from www.cpan.org

nmake
nmake test
nmake install

That should do it.

Good luck!

Reply via email to