On Fri, Feb 15, 2008 at 12:55 AM, Kang <[EMAIL PROTECTED]> wrote:
> After making simple script, and packing with 'pp -o script.exe script.pl'
> command.
> Execute packed binary in the other computer which don't have perl or after
> removing environment variable installed by strawberry perl
>  if you execute it on the same machine, you can not see the error because
> perl510.dll is already in PATH environment variable.

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

Reply via email to