Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Creating executable with packaged libraries, libraries and modules included but executable does not function on machines without perl installed

by marto (Cardinal)
on Dec 20, 2017 at 20:22 UTC ( [id://1205944]=note: print w/replies, xml ) Need Help??


in reply to Creating executable with packaged libraries, libraries and modules included but executable does not function on machines without perl installed

Welcome! You can often make it easier for people to help you by providing more detail than you have here. Perl version, how you tried to package the executable and so on. How do I post a question effectively? has more on this, and you can just post error messages in code tags as described each time you post here, the same as you would any other code/data.

On to the problem at hand. pp has the -x option which runs your program in an attempt to detect any other run time dependencies. Also the -l option, for adding shared libs. Super Search is your friend, see also Re^2: dll not embedded in PAR::Packer's output.

Update: Fixed typo, also more interesting pp stuff. The 'exe' it generates is just a zip file, you can extract it as you would any other zip file to find out what the package contains. If you are creating the package pp can be very verbose (either printed to screen or to a log file) using pp -x -vvv .....the other stuff goes here. This can be helpful when you've hit problems in packaging.

  • Comment on Re: Creating executable with packaged libraries, libraries and modules included but executable does not function on machines without perl installed
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-23 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found