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 -
+ mingw-w64
/oz]
Perl lib version (5.16.1) doesn't match executable 'C:\Users\abhinav\A
+ppData\Loc
al\Temp\parlbbnG.exe' version (v5.16.0) at C:/Perl64/lib/Config.pm lin
+e 60.
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
+48.
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
+ 14.
Compilation failed in require at -e line 459.
C:\Perl64\site\bin/pp: Failed to extract a parl from 'PAR::StrippedPAR
+L::Static'
to file 'C:\Users\abhinav\AppData\Local\Temp\parl6JbDHoF.exe' at C:/P
+erl64/site
/lib/PAR/Packer.pm line 1169, <DATA> line 1.
C:\Users\abhinav\Desktop\Demo _19_12>
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 ...