PAR packer Error

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am trying to make an exe file from a perl script file. I am using
ActiveState Perl 5.8.6 (Build 811) on Windows.
This is the lcommand that i am running and the error msg:

pp -o sp.exe
Perl lib version (v5.8.6) doesn't match executable version (v5.8.8) at
ib/ line 32.
Compilation failed in require at C:/Perl/lib/ line 25.
BEGIN failed--compilation aborted at C:/Perl/lib/ line
Compilation failed in require at C:/Perl/site/lib/Compress/
line 15.
Compilation failed in require at C:/Perl/site/lib/Archive/ line
BEGIN failed--compilation aborted at C:/Perl/site/lib/Archive/
line 11.
Compilation failed in require at -e line 406.
C:\Perl\Bin/pp: Failed to extract a parl from
'PAR::StrippedPARL::Static' to fi
e 'parlHk8jbV7.exe' at C:/Perl/site/lib/PAR/ line 1149,
<DATA> line 1.

i am using PAR 0.976

i will be happy to find solution for thi problem as i am trying to
solve it for more then 10 hours..

Re: PAR packer Error

Quoted text here. Click to load it

What happens if you just run


? It looks to me as though you've messed up your perl installation.


_)}};*_=sub{for(@_){$|=(!$|||$_||&)(q) )));&((q:\:\::,q,,,$_);$_&&&)("\n")}}}_
$J::u::s::t, $a::n::o::t::h::e::r, $P::e::r::l, $h::a::c::k::e::r, $,

Re: PAR packer Error

Quoted text here. Click to load it

If I run  perl it is working... and i reinstalled the
ActiveState Perl recently

Re: PAR packer Error

[please don't quote signatures]

Quoted text here. Click to load it

OK, then, have you by any chance installed a PPM of PAR-Packer that was
intended for perl 5.8.8?

Can you confirm that

    perl -ne"/V eq / and print" c:\perl\lib\


    $^V eq v5.8.6

? Can you put this in a file

    print "$^]\n";

and run both




? If they don't both print '5.008006' then your version of PAR::Packer
does not match your version of perl: I would suggest installing the
latest 5.8.8 from ActiveState.


'Deserve [death]? I daresay he did. Many live that deserve death. And some die
that deserve life. Can you give it to them? Then do not be too eager to deal
out death in judgement. For even the very wise cannot see all ends.'

Site Timeline