Thanks for your timely reply. I was using an older version because PAR-Packer 1.009 and PAR 1.002 were giving me an error that I've listed below. To put things into perspective, I first installed perl 5.10.1 from by downloading its source and building it to the following directory:
*/usr2/schattop/localperl/bin/perl* So, my @INC does not contain anything apart from libraries present inside this localperl now. next, I installed latest versions of all the modules need for PAR (Archive::Zip etc.) using this new perl interpreter.I then installed PAR-1.002 and PAR-Packer 1.009 using this new localperl interpreter and they were built without any errors. Now I went ahead and used pp with this interpreter on a simple perl script which adds 2 numbers, named perl1. */usr2/schattop/localperl/bin/pp perl1.pl* But this doesn't work and I'm getting the following errors: *schattop@nighthaven:~/perlbinary/test$ /usr2/schattop/localperl/bin/pp perl1.pl Can't load '/usr2/schattop/localperl/lib/5.10.1/x86_64-linux/auto/IO/IO.so' for module IO: /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/auto/IO/IO.so: undefined symbol: PL_unitcheckav at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/XSLoader.pm line 70. at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO.pm line 11 Compilation failed in require at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO/Handle.pm line 266. BEGIN failed--compilation aborted at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO/Handle.pm line 266. Compilation failed in require at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO/Seekable.pm line 101. BEGIN failed--compilation aborted at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO/Seekable.pm line 101. Compilation failed in require at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO/File.pm line 133. BEGIN failed--compilation aborted at /usr2/schattop/localperl/lib/5.10.1/x86_64-linux/IO/File.pm line 133. Compilation failed in require at -e line 458. /usr2/schattop/localperl/bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to file 'parlxQYJ0D6' at /usr2/schattop/localperl/lib/site_perl/5.10.1/PAR/Packer.pm line 1172, <DATA> line 1. * The perl libraries (perl -v gives version 5.10.1) that I have by default, does not have this x86_64 directory on my machine. But after downloading perl 5.10.1 source directly from CPAN and then building it, creates this directory in the new localperl, where the error seems to be popping up. It'll be great if someone can shed some light on this. Thanks On Thu, Jun 16, 2011 at 2:26 PM, Roderich Schupp < roderich.sch...@googlemail.com> wrote: > On Thu, Jun 16, 2011 at 7:14 PM, Nine Fox <ninetaileddemonf...@gmail.com> > wrote: > > I need to make use of PP and not just PAR. hence I'm installing a lower > > version of PAR. Is this something that has been encountered earlier? > > Please install the latest versions of PAR (1.002) and PAR::Packer > (1.009) from CPAN - > there is absolutely no point in sticking to known bugs. > > Cheers, Roderich >