http://qs321.pair.com?node_id=586470

0xbeef has asked for the wisdom of the Perl Monks concerning the following question:

I initially installed and used PAR on AIX 5.2 and AIX 5.3 without problems. Recently, I decided to make use of PAR::Filter::Bleach and PAR::Filter::Squish, and used CPAN to autoinstall all the dependencies. I now run into trouble when I even try a simple command:

pp -o myprog.exe myprog.pl is only avaliable with the XS version at /usr/opt/perl5/lib/site_perl +/5.8.2/Compress/Zlib.pm line 9 BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8. +2/Compress/Zlib.pm line 9. Compilation failed in require at /usr/opt/perl5/lib/site_perl/5.8.2/Ar +chive/Zip.pm line 24. BEGIN failed--compilation aborted at /usr/opt/perl5/lib/site_perl/5.8. +2/Archive/Zip.pm line 24. Compilation failed in require at -e line 406. /usr/opt/perl5/bin/pp: Failed to extract a parl from 'PAR::StrippedPAR +L::Static' to file 'parls0KcQKK' at /usr/opt/perl5/lib/site_perl/5.8. +2/PAR/Packer.pm line 1142, <DATA> line 1.

BTW, line 9 of Zlib.pm reads: "use Scalar::Util qw(dualvar);" and Scalar::Util is installed.

In fact, I had to manually compile & install Scalar::Util using the fix described here, but the above error persists even though the module installed successfully.

Any insights into getting around this would be appreciated!

Regards,
Niel