Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

problems installing PAR::Packer (pp) on Windows 7

by evgen-i (Novice)
on Jan 29, 2013 at 15:35 UTC ( #1015893=perlquestion: print w/ replies, xml ) Need Help??
evgen-i has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am trying to install the pp module using cpan (from an ActiveState perl installation) under Windows 7. The installation procedure terminates write almost at the very end, when "make" is executed:

windres -i winres\pp.rc -o ppresource.coff --input-format=rc --output- +format=coff --target=pe-x86-64 windres: Can't detect target endianness and architecture.

Also, "windres" from MinGW was not in the PATH until I added it.

Any idea why I get this error?

Thanks, Eugene.

Comment on problems installing PAR::Packer (pp) on Windows 7
Download Code
Re: problems installing PAR::Packer (pp) on Windows 7 (use latest version)
by Anonymous Monk on Jan 29, 2013 at 16:12 UTC
    use latest version, like cpan RSCHUPP/PAR-Packer-1.014.tar.gz
Re: problems installing PAR::Packer (pp) on Windows 7
by dasgar (Deacon) on Jan 29, 2013 at 16:48 UTC

    Use the PPM utility to install MinGW and dmake from ActiveState's repository. Without these, you'll only be able to install those modules from CPAN that are pure Perl code. Any modules that need to be compiled (such as those using XS) will require that you have a compiler and make utility.

    If you're using a 64-bit version of ActivePerl, I think that there might be a few more steps needed, but I'm not 100% sure about that.

        hi marto, i had switched to strawberry perl as default, i'm very pleased with it.
        But me too i'm haveing trouble with the pp: PAR::Packer was installed only with the force install command and pp too.
        Then pp result as not properly run anyway.
        I found some article but i'm not sure if there is a solution.

        I'll post here any progress.

        L*

        there are no rules, there are no thumbs..

        Hello,

        compiling the GNU compiler sources for 64-bit is not that easy, the same is for compiling as a cross-compiler 32bit/64bit.
        It took me a few days and finally I gave up.
        I took the binary version for testing: http://tdm-gcc.tdragon.net.
        Using a 64bit compiler lead to much trouble as I forgot that a 64bit compiler comes with different size of types :-)

        However, I am compiling perl modules for perl on Windows 7 (64bit system) with a 32bit compiler and didn't faced any problems so far.
        I have also tested 64bit perl versions and I have come to the point
        that there are not as much perl modules available as in the standard installation.
        In example the Win32::SerilPort module was not available for 64bit (at that time).
        Compiling modules designed for 32bit with 64bit compiler is also leading to an shouting compiler.

        So is a 64bit compiler really needed?
        Yet I have not tested the Microsoft nmake tool chain with 64bit option, might by worth giving a try.

        IMHO modules are best installed with the given maintenance tools of ActiveState or Strawberry.
        By manual installation you have to take care for version dependencies for yourself - this is no fun ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-08-21 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls