Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101.


O

osoeder

Hello, I plan to compile some of my Perl scripts to .exe.

I followed this instruction:
http://www.expertsrt.com/tutorials/Matt/perlPAR.html

I could compile all new modules, but as soon as I type the command:

C:\temp>pp clip.exe clip.pl

it will show this output:

Can't find par loader at C:/Perl/site/lib/PAR/Packer.pm line 101.

Here is an extract around line 101 of Packer.pm

sub set_options {
my ($self, %opt) = @_;

$self->{options} = \%opt;
$self->_translate_options($self->{options});

$self->{parl} ||= $self->_can_run("parl$Config{_exe}")
or die("Can't find par loader");
$self->{dynperl} ||=
$Config{useshrplib} && ($Config{useshrplib} ne 'false');
$self->{script_name} = $opt{script_name} || $0;
}

Thanks for you help

Oliver
 
Ad

Advertisements


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

Top