Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: How to convert bunch of perl file + other dependent Input files Into a single executable

by rockyurock (Acolyte)
on Mar 02, 2017 at 10:09 UTC ( [id://1183382]=note: print w/replies, xml ) Need Help??


in reply to Re: How to convert bunch of perl file + other dependent Input files Into a single executable
in thread How to convert bunch of perl file + other dependent Input files Into a single executable

I used this command but It's giving me the below error :

C:\Users\MTK06729\AppData\Local\Temp\parlC3TX.exe: Perl lib version (5.24.1) doe sn't match executable 'perl.exe' version (5.24.0) at C:/Perl64/lib/Config.pm lin e 62. Compilation failed in require at C:/Perl64/lib/Errno.pm line 10. BEGIN failed--compilation aborted at C:/Perl64/lib/Errno.pm line 10. Compilation failed in require at C:/Perl64/lib/File/Temp.pm line 17. BEGIN failed--compilation aborted at C:/Perl64/lib/File/Temp.pm line 17. Compilation failed in require at C:/Perl64/lib/Archive/Zip.pm line 11. BEGIN failed--compilation aborted at C:/Perl64/lib/Archive/Zip.pm line 11. Compilation failed in require at -e line 240. C:\Perl64\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to file 'C:\Users\MTK06729\AppData\Local\Temp\parlFZqv5lw.exe' at C:/Perl64/sit e/lib/PAR/Packer.pm line 1184, <DATA> line 1.

  • Comment on Re^2: How to convert bunch of perl file + other dependent Input files Into a single executable

Replies are listed 'Best First'.
Re^3: How to convert bunch of perl file + other dependent Input files Into a single executable
by marto (Cardinal) on Mar 02, 2017 at 10:16 UTC

    How did you install pp? What does perl -MPAR::Packer -le "print $PAR::Packer::VERSION" return?

      It's returning me 1.035

        CPAN shows v1.036, you must be installing this via some other package manager (PPM?). The version you've installed is not built for the version of perl you have installed. They have to be the same, see rt://92352. To install build the live release against your current version of perl use the following from the command prompt:

        cpan pp

        If you're working on Windows make life easy for yourself by using strawberry perl, as it ships with a sane build environment, and a bunch of other useful things as standard. To install a C compiler and build tools for ActiveState do:

        ppm MinGW

        Then install via cpan as mentioned above.

        How did you install it? Please answer all questions asked.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1183382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found