I see several people have been having a similar problem to me. This may be related to the ChangeLog item (just a guess!): -

"Remove Cwd.pm (and Cwd.so) from the bundled dependencies."

I've traced this down to parl.exe not being passed @INC in Packer.pm.

A solution is to hand edit site/lib/PAR/Packer.pm and add this line: -

foreach my $d (@INC) { unshift @args, "-I$d" };

after "my @args = ('-B', "-O$output", $par_file);" on line 1221 in _generate_output subroutine.

This just appends your current @INC path to parl.exe's command line arguments.

This appears to allow me to compile a simple working executable although it will need more testing.

Blair

Reply via email to