Apr 20, 2010, 4:10 AM
Post #1 of 1
PAR - Perl Archiving Toolkit Troubles
Hello everyone. I am new here but have been programming in perl for a few years now. I did a quick search but didn't find much. I hope I'm posting this question in the correct forum. Anyway my problem is this, I wrote a perl script and module that I would like to distribute to some poeple at work and I don't want everyone to have to install the perl executable and required libraries. So, I am attempting to use PAR to compile it into an executable. I used the ppm to install PAR and all it's required dependent modules (at least I think I did) but I still can't get it to work. I am using Windows XP Proffesional OS with SP2 installed and version 184.108.40.2067 of perl. Below you can see the command line entry and arguments that I'm trying to use and then the error message I'm getting from it. I'd be very appreciative if anyone knows what I'm doing wrong or has any ideas about what I need to do to fix my problem. Thanks in advance for any help you can provide.
F:\MCT>pp -o plot.exe plot.pl
Set up gcc environment - 3.4.5 (mingw-vista special r3)
PAR::StrippedPARL::Static->get_raw() did not return the raw binary data for a PA
R loader at C:/Perl/site/lib/PAR/StrippedPARL/Base.pm line 141, <DATA> line 1.
Could not write temporary parl (class PAR::StrippedPARL::Static) to file 'D:\DOC
UME~1\jmoskowi\LOCALS~1\Temp\parlV9q5.exe' at C:/Perl/site/lib/PAR/StrippedPARL/
Base.pm line 65, <DATA> line 1.
C:\Perl\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' to fil
e 'parlFX6E467.exe' at C:/Perl/site/lib/PAR/Packer.pm line 1171, <DATA> line 1.