I'm using Strawberry Perl 5.10 for win32.
but packed binary with pp on it raises "can't find perl510.dll" error.
There is no such problem in Strawberry Perl 5.8.
Thank you in advance
Please give some more information what you did and what doesn't work.
Cheers, Roderich
I just tried this:
- installed Strawberry Perl 5.10 from scratch
- installed libwin32, PAR, PAR::Packer (and its prerequisites) from CPAN
- pp -o hello.exe -e "print qq[hullo world\n]"
- invoked hello.exe from another console window with everything mentioning
strawberries removed from environment: works for me
Questions:
- Did you re-install PAR::Packer (from scratch) after you switched
from Strawberry 5.8 to 5.10?
- Check your C:\Documents and Settings\YourUser\Local Settings\Temp\par-YourUser
(or whatever it's called on your machine): remove all its contents, then run
your packed executable; that should result in a directory called
"cache-SOMETHING"
beeing created; this directory should contain perl510.dll
Cheers, Roderich
This is a known bug in PAR::Packer's build process (already fixed in SVN):
it refuses to overwrite certain stuff from a previous build.
Please repeat the build by hand:
- cd to C:\strawberry\cpan\build\PAR-Packer-0.977-XXXXX
- do "dmake clean" to blow away all old stuff (esp. make sure blib has
been removed)
- perl Makefile.PL
- dmake
- dmake test
If the last command fails, please post the output from "perl
makefile.PL" onward.
Cheers, Roderich