Tried to make an exe with par

A

Andy1407

Hi,

i tried to make an binary file for windows using par.


i use the command: 'pp -o text.exe test.pl'


the content of test.pl is:
<---
#!/usr/bin/perl
print "hello world!\n";
<---


because i am using windows xp i also tried
<---
#!C:\perl\bin\perl
print "hello world!\n";
<---
This works on the console with 'perl test.pl' perfect...


when executing the command i still get:
<---
PAR::StrippedPARL::Static->get_raw() did not return the raw binary
data for a PAR 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 'C:\DOKUME~1\HORNDA~1\LOKALE~1\Temp\parlEMI9.exe' at C:/Perl/
site/
lib/PAR/StrippedPARL/Base.pm line 65, <DATA> line 1.
C:\Perl\site\bin/pp: Failed to extract a parl from
'PAR::StrippedPARL::Static' to file 'parlJQkKhen.exe' at C:/Perl/
site/
lib/PAR/Packer.pm line 1157, <DATA> line 1.
<---


how could i fix that?


Thanks for help


Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,742
Latest member
AshliMayer

Latest Threads

Top