Hello Monks .. I seek your wisdom on an issue ...
i have been trying to create a binary executable file from my script ... i have installed PAR packer using PPM ... When i try to compile the script .. it throws the following error ..
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\abhinav\Desktop\Demo _19_12>pp -o myscript.exe hardware.pl
Set up gcc environment - 4.4.7 20111023 (prerelease) [svn/rev.180339 -
Perl lib version (5.16.1) doesn't match executable 'C:\Users\abhinav\A
al\Temp\parlbbnG.exe' version (v5.16.0) at C:/Perl64/lib/Config.pm lin
Compilation failed in require at C:/Perl64/lib/Errno.pm line 8.
BEGIN failed--compilation aborted at C:/Perl64/lib/Errno.pm line 8.
Compilation failed in require at C:/Perl64/lib/File/Temp.pm line 148.
BEGIN failed--compilation aborted at C:/Perl64/lib/File/Temp.pm line 1
Compilation failed in require at C:/Perl64/lib/Archive/Zip.pm line 14.
BEGIN failed--compilation aborted at C:/Perl64/lib/Archive/Zip.pm line
Compilation failed in require at -e line 459.
C:\Perl64\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPAR
to file 'C:\Users\abhinav\AppData\Local\Temp\parl6JbDHoF.exe' at C:/P
/lib/PAR/Packer.pm line 1169, <DATA> line 1.
I can see the issue is related to incompatibility of the Packer and the Perl distribution ... I couldnt find v5.16.0 neither m i able to update the packer as no upgradable packages are available .. Kindly suggest ways to get through this problem ...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||