Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Intalling PAR::Packer

by cinco (Initiate)
on Oct 11, 2012 at 18:07 UTC ( #998504=perlquestion: print w/ replies, xml ) Need Help??
cinco has asked for the wisdom of the Perl Monks concerning the following question:

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

Comment on Intalling PAR::Packer
Download Code
Re: Intalling PAR::Packer
by Anonymous Monk on Oct 12, 2012 at 00:35 UTC
Re: Intalling PAR::Packer
by dasgar (Deacon) on Oct 12, 2012 at 03:40 UTC

    Which Perl distribution are you using? Based on the folder name "Perl64", I'm assuming that you're using a 64-bit Perl, is that correct?

    Unless you need the 64-bit features (64 bit integers, etc.), you can use 32-bit Perl just fine on 64-bit Windows. If you're willing to go with 32-bit Perl, you check out the information that I shared at Re: Need help using CPan's pp - PAR Packager. So far, I personally haven't had problems installing PAR::Packer on 32-bit versions ActiveState Perl and Strawberry Perl.

      Thanks guys! I will try the 32-bit perl. Which version of Perl are you using?

        Unfortunately, I haven't been consistent on which version and distribution that I have been using. Between my personal system and systems at work, I've used ActiveState's ActivePerl, Strawberry Perl, and DWIM Perl. I've primarily been using versions 5.12 and up.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-09-16 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (53 votes), past polls