Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: problems installing PAR::Packer (pp) on Windows 7

by tobias_hofer (Friar)
on Jan 30, 2013 at 15:03 UTC ( #1016076=note: print w/ replies, xml ) Need Help??


in reply to Re^2: problems installing PAR::Packer (pp) on Windows 7
in thread problems installing PAR::Packer (pp) on Windows 7

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 ;-)


Comment on Re^3: problems installing PAR::Packer (pp) on Windows 7
Re^4: problems installing PAR::Packer (pp) on Windows 7
by gmock (Acolyte) on Apr 11, 2013 at 19:36 UTC

    I found a solution to this problem which worked for me. I'll share it here in case it helps anyone else.

    My OS is 64-bit Windows 7. I installed 32-bit Perl v5.16.3 from ActiveState. I managed to get PAR::Packer installed in the following manner.

    % cpan PAR::Packer

    The MinGW compiler and dmake utility installed correctly. Several other packages installed correctly. But Win32::Exe failed to install. So, I did this ...

    % ppm install Win32::Exe

    That gets Win32:Exe installed correctly. Next ...

    % cpan PAR::Packer

    Now I can use the pp command normally. Hope this is useful.

    -George

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-11-01 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (227 votes), past polls