Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to create stand alone Exe

by influx (Beadle)
on Aug 16, 2012 at 13:20 UTC ( #987760=note: print w/ replies, xml ) Need Help??


in reply to How to create stand alone Exe

A fellow monk wrote a tool called perlc that can pack everything into a single executable, you can grab it Here. From what I've seen, it works fairly well. For a truly cross-platform solution you might want to use the likes of MagicErmine on the executable that perlc creates. I picked up a copy of Ermine for 30, which isn't bad considering what a great job it does. I can move my executable from RedHat, to Ubuntu, to Slackware and not need the necessary libraries installed on the target machine. I do not know how well this method would go with a Tk app, I have yet to try.


Comment on Re: How to create stand alone Exe
Re^2: How to create stand alone Exe
by Anonymous Monk on Aug 16, 2012 at 14:30 UTC

    A fellow monk wrote a tool called perlc that can pack everything into a single executable, you can grab it Here. From what I've seen, it works fairly well.

    No, it is completely unsuitable for this purpose (or any purpose really)

      There is no perfect solution when it comes to building a standalone executable from Perl. From my experience I was able to create one using perlc then use MagicErmine on that binary to create a standalone cross-platform 32/64bit executable that successfully ran on multiple distributions. As I mentioned, though, I have not tried it with Tk.

        There is no perfect solution when it comes to building a standalone executable from Perl.... As I mentioned, though, I have not tried it with Tk.

        PAR/PerlApp/CavaPackager.. are all designed this purpose and work out of the box today -- perlc isn't and it won't work, it isn't any kind of solution to the problem of deploying self-contained perl apps.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-10-26 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls