Are you using Ubuntu to create the .exe and then trying to run that on Windows? If so, that's your problem right there. Using pp, you can't build an executable one platform (Windows, Linux, Mac, etc.) and get that executable to run on another platform.

To create a Windows executable, you'll need to do this on Windows. Two popular Perl distributions for Windows are ActivePerl from ActiveState and http://strawberryperl.com/. If you're wanting to try Perl on Windows and don't want to install anything, I would recommend checking out portable Strawberry Perl, which does not install anything.

In order to install PAR::Packer (which has the pp utility), you'll definitely need a compiler and a make utility. Strawberry Perl already comes with both ready for use. With ActivePerl, you'll just need to use their PPM utility to install MinGW and dmake.

Of course, if you have Perl installed and have all the needed modules installed too, you might be able to just copy your script to your Windows system and just run it.


In reply to Re^3: pp utility incompatibility issue with windows by dasgar
in thread pp utility incompatibility issue with windows by mailmeakhila

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.