Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Generating an exe file on Win32

by dasgar (Priest)
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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013297]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2018-06-23 20:36 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.