I want to convert my perl script to an executable to run on Windows. In the past I have used perl2exe, but now I cannot get this option to work so I'm trying PAR::Packer.

However, I cannot get this to install. When I run cpan>install PAR::Packer I get the following. (I omitted all of the stuff that seemed to work) Last night I searched the web for hours and haven't found the answer.

C:\Perl64\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT +-DWIN64 -D CONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLIC +IT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing +-mms-bitfi elds -I"C:\Perl64\lib\CORE" -DPARL_EXE=\"parl.exe\" -O2 main.c windres -F pei-i386 -i winres\pp.rc -o winres\pp.res windres -o ppresource.coff winres\pp.res C:\Perl64\site\lib\auto\MinGW\bin\windres.exe: unexpected version stri +ng length 68 != 32 + 8 dmake.exe: Error code 129, while making 'ppresource.coff' dmake.exe: Error code 255, while making 'subdirs' RSCHUPP/PAR-Packer-1.013.tar.gz C:\Perl64\site\bin\dmake.exe -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: RSCHUPP/PAR-Packer-1.013.tar.gz : make NO

In reply to Intalling PAR::Packer by cinco

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.