in reply to Perl pp fails to create executable

Did you install PAR and PAR::Packer via PPM? Consider upgrading form 5.8.9 if possible.

Replies are listed 'Best First'.
Re^2: Perl pp fails to create executable
by tale051258 (Initiate) on Feb 16, 2012 at 17:04 UTC

    PAR and PAR-Packer were both installed via ppm. I am using strawberry Perl 5.8.9

      Which repository did you use? The reason I ask is that I think packages aren't compatible with your version of Perl. You could remove them with PPM and try installing them via cpan.

        CPAN install fails. Maybe I should try Strawberry Perl or ActiveState Perl 5.14.x?

      PAR and PAR-Packer were both installed via ppm.

      From which repository?

        OS: Windows 7 64-bit

        I eventually got the Perl Modules from http://trouchelle.com/ppm12 since I am (now) using ActiveState Perl 5.12.3 and both PAR and PAR::Packer installed without issue. The issue now is the following when I attempt to use the 'pp' utility

        C:\home>pp -o test_pdk.exe C:\Perl_Code\test_pdk.pl Set up gcc environment - 3.4.5 (mingw-vista special r3) Perl lib version (5.12.3) doesn't match executable version (v5.12.0) a +t C:/Perl/ lib/Config.pm line 50. Compilation failed in require at C:/Perl/lib/Errno.pm line 8. BEGIN failed--compilation aborted at C:/Perl/lib/Errno.pm line 8. Compilation failed in require at C:/Perl/lib/File/Temp.pm line 148. BEGIN failed--compilation aborted at C:/Perl/lib/File/Temp.pm line 148 +. Compilation failed in require at C:/Perl/lib/Archive/Zip.pm line 14. BEGIN failed--compilation aborted at C:/Perl/lib/Archive/Zip.pm line 1 +4. Compilation failed in require at -e line 449. C:\Perl\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL: +:Static' t o file 'parla9DY7hl.exe' at C:/Perl/site/lib/PAR/Packer.pm line 1155, +<DATA> lin e 1.

        Any ideas on what may be causing the lib mismatch issue? And how to correct?

        Cheers!

      errata - PAR version is 1.000 and PAR-Packer is 0.991