Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Using PAR Packer to convert into an exe file

by Ppeoc (Beadle)
on Jun 17, 2016 at 00:36 UTC ( #1165924=perlquestion: print w/replies, xml ) Need Help??

Ppeoc has asked for the wisdom of the Perl Monks concerning the following question:

Hey Monks, This question has been posted a couple of times before. I have looked through the solutions posted as well. But I have still not been able to fix my issue. I need to make a standalone exe which can run on systems without perl. The exe I have runs perfectly on systems that have perl. But on new systems, it just bombs out. I have been using
pp -x -o Test_file.exe Test_file.pl
On reading up more, I figure I need to use
pp -x -link dll file -o Test_file.exe Test_file.pl
I use the module LibXML in my script and this is the error I get. C:\Windows\temp\par-707072617461706b\cache-e7ed955a0556640896b5479a0befbe205af169df\75dbd567.dll' for module XML::LibXML: load_file:The specified module could not be found at C:/Dwimperl/perl/lib/DynaLoader.pm line 190. at C:/Dwimperl/perl/site/lib/PAR/Heavy.pm line 120. How do I know what dll files need to be included? I have also downloaded Dependency Walker. It gives me an error opening file for API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL and other such dlls. I am not sure is this is even relevant. This is driving me crazy :( Would really appreciate some help. Thank you!

Replies are listed 'Best First'.
Re: Using PAR Packer to convert into an exe file (ppsimple)
by Anonymous Monk on Jun 17, 2016 at 00:43 UTC
    Try ppsimple.pl it should pickup all the .dlls required

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1165924]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-07-26 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?