Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

How to create stand alone Exe

by gocpon (Novice)
on Aug 16, 2012 at 12:27 UTC ( #987747=perlquestion: print w/ replies, xml ) Need Help??
gocpon has asked for the wisdom of the Perl Monks concerning the following question:

Dear all, I have created a small application(3000 LOC) in PerlTk with MYSQL Database in Windows 7 . Now i would like to create a Stand alone Exe that should run in the other machine. How to convert it to a stand alone exe. Kindly help me.. <\p>

Comment on How to create stand alone Exe
Re: How to create stand alone Exe
by daxim (Chaplain) on Aug 16, 2012 at 12:39 UTC
Re: How to create stand alone Exe
by Ratazong (Prior) on Aug 16, 2012 at 12:42 UTC
Re: How to create stand alone Exe
by influx (Beadle) on Aug 16, 2012 at 13:20 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. 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.

      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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2014-09-16 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (39 votes), past polls