in reply to Module Static.pm not found when using perl packer
G'day Bloehdian,
The PAR::StrippedPARL::Static (and PAR::StrippedPARL::Dynamic) modules were last distributed with 1.010; they were absent from 1.011.
In the Changes file, under '1.037 2017-05-28', you'll see:
"Fail early when packing with a version of Perl that's different frome the one PAR::Packer was built with. Scenario: User has built and installed PAR::Packer ... then installs a newer version of Perl ..."
As pp is now a module as well as a script, you can get version and location information about both of those, and equivalent information about perl, with these commands:
$ perl -E 'use pp; say $INC{"pp.pm"}; say $pp::VERSION;' $ which pp $ pp -V $ which perl $ perl -v
I'd also check the shebang line in program.pl.
I concur with the advice[1,2] from both ++choroba1 and ++marto2. Your problem could be either; or a combination of both. If digging deeper (using the suggestions above) doesn't resolve your issue, post your results and we can look at it further.
— Ken
|
|---|