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

Re: A guide to installing modules for Win32

by jaschwar (Acolyte)
on Jan 12, 2011 at 02:16 UTC ( [id://881801]=note: print w/replies, xml ) Need Help??


in reply to A guide to installing modules for Win32

I wanted to add a few comments that may help those who are using win64 as there are few differences:
First is the easy part, to use the 64-bit potential of your machine use the 64-bit distribution:
5.12.2: http://www.activestate.com/activeperl/downloads

Second, with nmake being 16-bit, you'll need an alternative. Dmake should work. Its link is here:
http://search.cpan.org/dist/dmake/
After unzipping, change the enviromential variable path to include the place where dmake.exe resides.
Replace nmake with dmake. So, after unzipping the module package.

$ perl Makefile.PL<br> $ dmake<br> $ dmake test <br> $ dmake install<br>

ppm will be installed with Active State distro.

MinGW compiler is here: http://www.mingw.org/download.shtml#hdr2
Hope that helps anyone trying to install modules on top of 64-bit Active State.

Replies are listed 'Best First'.
Re^2: A guide to installing modules for Win32
by syphilis (Archbishop) on Jan 12, 2011 at 07:57 UTC
    MinGW compiler is here: http://www.mingw.org/download.shtml#hdr2

    But mingw.org provide only a 32-bit compiler, and the 64-bit ActivePerl would need a 64-bit compiler, such as the one offered by the mingw64 project (a different vendor than mingw.org).

    And even then, in order to get this 64-bit compiler working with ActivePerl, I found it necessary to do some hacking to lib/Config_heavy.pl, lib/ActivePerl/Config.pm and lib/ExtUtils/MM_Win32.pm.

    You're right about dmake - however, I'm not sure that there's any problem with nmake itself.

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2025-06-24 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.