Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: How to create stand alone Exe

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


in reply to Re^2: How to create stand alone Exe
in thread How to create stand alone Exe

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.

Replies are listed 'Best First'.
Re^4: How to create stand alone Exe
by Anonymous Monk on Aug 16, 2012 at 15:03 UTC

    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.

      My working standalone app that runs on multiple architectures begs to differ. Or perhaps it was a figment of my imagination and not really a binary :-O I only used perlc because it was the only one that played well with MagicErmine and was able to compile it all together in a statically linked binary I was able to share successfully. I'm not saying it's the best solution.

        My working standalone app that runs on multiple architectures begs to differ

        No it doesn't. Read the BUGS/CAVEATS

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987786]
help
Chatterbox?
[1nickt]: See this code. (I expected to simply eval loading threads as a check, but weirdness happened with Perlbrew so it's a grep of -V ...)
[choroba]: Config might be better than grepping -V
[Corion]: Also see Config::V, which is less of that hackery, or that hackery hidden in a module ;)
[1nickt]: The problem was with Perlbrew
[Corion]: Whoops - Config::Perl::V
[1nickt]: I found that when using Perlbrew as recommended, with cpanminus in the system perl lib, such tests were failing to detect the data about the perl that was the install destination.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-10-18 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (249 votes). Check out past polls.

    Notices?