Why do I get "version (5.12.2) doesn't match executable version" with Perl's PAR? -
when run following create executable out of perl script:
pp -o process_target_mode_data process_target_mode_data.pl
i following error output:
perl lib version (5.12.2) doesn't match executable version (v5.12.0) @ /home/neil/activeperl-5.12/lib/config.pm line 50. compilation failed in require @ /home/neil/activeperl-5.12/lib/errno.pm line 8. begin failed--compilation aborted @ /home/neil/activeperl-5.12/lib/errno.pm line 8. compilation failed in require @ /home/neil/activeperl-5.12/lib/file/temp.pm line 148. begin failed--compilation aborted @ /home/neil/activeperl-5.12/lib/file/temp.pm line 148. compilation failed in require @ /home/neil/activeperl-5.12/lib/archive/zip.pm line 14. begin failed--compilation aborted @ /home/neil/activeperl-5.12/lib/archive/zip.pm line 14. compilation failed in require @ -e line 459. /home/neil/activeperl-5.12/site/bin/pp: failed extract parl 'par::strippedparl::static' file 'parlenrp2xi' @ /home/neil/activeperl-5.12/site/lib/par/packer.pm line 1172, <data> line 1.
could explain me going on , how can resolve problem?
info brian d foy requested:
[bash-3.2][neil@willy]$ pp /home/neil/activeperl-5.12/site/bin/pp [bash-3.2][neil@willy]$ /home/neil/activeperl-5.12/site/bin/pp -o process_target_mode_data process_target_mode_data.pl perl lib version (5.12.2) doesn't match executable version (v5.12.0) @ /home/neil/activeperl-5.12/lib/config.pm line 50. compilation failed in require @ /home/neil/activeperl-5.12/lib/errno.pm line 8. begin failed--compilation aborted @ /home/neil/activeperl-5.12/lib/errno.pm line 8. compilation failed in require @ /home/neil/activeperl-5.12/lib/file/temp.pm line 148. begin failed--compilation aborted @ /home/neil/activeperl-5.12/lib/file/temp.pm line 148. compilation failed in require @ /home/neil/activeperl-5.12/lib/archive/zip.pm line 14. begin failed--compilation aborted @ /home/neil/activeperl-5.12/lib/archive/zip.pm line 14. compilation failed in require @ -e line 459. /home/neil/activeperl-5.12/site/bin/pp: failed extract parl 'par::strippedparl::static' file 'parludzfldz' @ /home/neil/activeperl-5.12/site/lib/par/packer.pm line 1172, line 1. [bash-3.2][neil@willy]$ [bash-3.2][neil@willy]$ /home/neil/activeperl-5.12/bin/cpan -l | grep par par 1.002 par::dist 0.47 par::heavy 0.12 par::filter 0.03 par::setuptemp 1.002 par::setupprogname 1.002 par::packer 1.006 par::strippedparl::dynamic 0.958 par::strippedparl::static 0.958 par::strippedparl::base 0.975 par::filter::bytecode undef par::filter::bleach undef par::filter::obfuscate undef par::filter::patchcontent undef par::filter::podstrip undef app::packer::par 0.91
i had same issue. installed par::packer activestate perl package manager (ppm). mentioned above in 1 of replies, there version mismatch between perl , pp binaries. here's how fixed it:
- uninstall par-packer ppm.
- open dos command line.
- run
cpan install par::packer
this download, compile, , install package cpan. mingw compiler toolchain downloaded well, if needed. whole process may take while on slower cpus.
Comments
Post a Comment