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

Re: Generating an exe file on Win32

by dasgar (Deacon)
on Jan 15, 2013 at 00:37 UTC ( #1013297=note: print w/ replies, xml ) Need Help??


in reply to Generating an exe file on Win32

What distribution of Perl are you using? Also, which version: 32-bit or 64-bit?

If you are using Strawberry Perl, it already comes with the mingw compiler and dmake, which allows you to install modules from directly CPAN (including those that need to be compiled).

For 32-bit ActivePerl, you'll need install mingw and dmake from the default ActiveState PPM repository. Then you'll be able to install modules from CPAN that need to be compiled. For 64-bit ActivePerl, I believe that there's more steps needed, but it's been over a year since I looked into it.

Once you have mingw and dmake for you Perl installation, you can install PAR::Packer. Then you can use the pp utility from PAR::Packer to create your executable files.

Another alternative that others might suggest is Cava Packager. That site will also recommend using Citrus Perl. I personally have not used either of those.

UPDATE: Another alternative is ActiveState's PerlApp, which is in their PDK and Pro Studio packages that they sell. However, the my original post had free alternatives to perl2exe.


Comment on Re: Generating an exe file on Win32
Re^2: Generating an exe file on Win32
by Anonymous Monk on Jan 17, 2013 at 20:45 UTC
    Hey using 32-bit, Strawberry perl. I have done all the above regarding PAR::Packer and it is still unable to work. Thanks for your help anyway
      I have done all the above regarding PAR::Packer and it is still unable to work.

      What's not working -- the install of PAR::Packer or creating the exe file?

      Since I've never had issues installing PAR::Packer using Strawberry Perl, I'm assuming that the issue is the creating of the pp utility. If that's the case, you share more information about what the error message(s) is that you're seeing and others can help you debug the issues.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-04-21 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls