Questions tagged [pp-perl-par-packager]

23 questions
3
votes
1 answer

Perl: par packer executable with Unicode::GCString, Can't locate object method "new"

I'm using the PAR::Packer module to create a Windows executable of a Perl script that uses the Unicode::GCString module. A stripped down version of the script is as follows: mwe.pl #!/usr/bin/env perl use strict; use warnings; use…
cmhughes
  • 911
  • 1
  • 8
  • 17
3
votes
1 answer

Can't install PAR::Packer 1.014 on Linux

When installing a CPAN module, PP (PAR::Packer) it always fails. If I install it via cpan it fails. cpan> cpan pp CPAN: Storable loaded ok (v2.41) Reading '/root/.cpan/Metadata' Database was generated on Sun, 15 Sep 2013 03:41:03 GMT Running…
Ddragonimp
  • 61
  • 1
  • 7
3
votes
2 answers

Cannot install module pp on windows 7 64 bit with Strawberry-Perl

I would like to create exe files from my perl scripts so therefore I tried to install the modul pp. But the installation failed with this output. cpan> install pp Database was generated on Tue, 31 Jul 2012 14:02:56 GMT Running install for module…
Al Phaba
  • 6,545
  • 12
  • 51
  • 83
2
votes
0 answers

How do I debug an executable created using the perl PAR packager (pp)?

I've used the PAR packager (pp) to create a Windows executable foo.exe from a Perl script foo.pl. The Perl script runs fine (perl foo.pl ). The executable runs, too (foo.exe ), but doesn't produce the same results as the Perl…
Louis Strous
  • 942
  • 9
  • 15
2
votes
2 answers

.exe crated using Par::Packer with script containing Net::SSH2 is not working

Am using Net::SSH2 module in my Perl script and trying to make an executable (.exe for windows) using Par::Packer. The script need to ssh to a linux box from a windows box using public keys and don't want to input password. Am facing the below error…
Senthil A Kumar
  • 10,306
  • 15
  • 44
  • 55
2
votes
1 answer

What to include when using Encode with PAR Packer

I've been working with PAR::Packer to create standalone executable files out of Perl scripts. The only difficulty I have with it is figuring out what extra DLLs I have to force it to include via the -l option. I'm now working with a Perl script that…
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
1
vote
1 answer

Perl Packer not operating as expected

I've recently installed the Perl Packer module to compile my perl scripts into exe packages. I'm running strawberry perl setup on a windows 32-bit machine. When I attempt to run the pp -o command, I get an error stating that Perl is not part of my…
steventnorris
  • 5,656
  • 23
  • 93
  • 174
1
vote
1 answer

How to debug PAR Packer symbol resolution?

I am using PAR Packer (1.012) to package perl scripts for distribution, like so: pp -c -o script script.pl When I move it to a machine without various libraries used the script installed it fails with the following error message: Can't find…
Olson
  • 1,884
  • 2
  • 17
  • 18
1
vote
1 answer

compile perl script using par::packer and run it on different linux versions

I have a Perl script which I tried to use PAR::Packer in order to make it a standalone executable so it runs without having Perl on the target machine (because of security reasons). I used WSL on Windows to pack the Perl script, but the problem I…
Fooad Taha
  • 25
  • 8
1
vote
1 answer

How to add all dependencies of Perl DBI module to PAR packer archive

I have created a Perl script which uses the DBI package to connect to a MySQL database. To make it run on other linux platforms where not necessarily all dependencies are installed, I am creating a single standalone file which includes all…
Matthias Munz
  • 3,583
  • 4
  • 30
  • 47
1
vote
0 answers

Link perl xsub via Perl packager

I have created one perl xsub to call a C function from my perl script.But the problem is that I cannot install that xsub directly by "make install'.The xsub has been created by make command already in the mentioned folder.I have to use it without…
1
vote
1 answer

PAR packer is not including user defined modules

I have a Perl script test.pl which includes another Perl module fact.pm which is under crypt/Module dir. the source code of crypt/test.pl is: #!/usr/bin/perl use Term::ANSIColor qw(:constants); use File::Path; use POSIX qw(strftime); use…
1
vote
1 answer

Perl Par::Packer Can't find module issue

I have a perl program that uses WWW::Mechanize::Firefox on windows 7 32bit with strawberry perl. It works fine with the command C:\>perl testcase.pl. When I compile it with C:\>pp -o testcase.exe testcase.pl it compiles with no errors. When I run…
1
vote
1 answer

which tool use to create Perl executable

I want to create Perl script executable exe for distributions for enterprise use. For security and to stop misuse. I found many outdated post about it. But today I don't know it is similar or not! Question is: Which tool shall I use to create…
waghso
  • 623
  • 7
  • 23
1
vote
1 answer

can't compile my perl script. What is the easiest way to make everything work?

I'm having a lot of trouble with compiling my perl script. I'm using all sorts of modules in my script: use fetchinfo; #which I wrote so it's in the same directory as my script use threads; use threads::shared; use Tk; use Fcntl ':flock'; And…
1
2