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.

In reply to Re: Generating an exe file on Win32 by dasgar
in thread Generating an exe file on Win32 by Luke Spencer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.