Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Modules On Windows

by ajt (Prior)
on Feb 03, 2006 at 18:15 UTC ( #527757=note: print w/replies, xml ) Need Help??

in reply to Modules On Windows

This is a re-hash of an old answer.

Option 1

You can install modules downloaded from CPAN onto ActiveState Perl without too many problems. You will need some extra bits though:

  • Download the module you want using a web browser.
  • You need to be able to unpack .tar.gz files, WinZip or 7Zipcan manage this - amongst others, and you can get command line tar and gnuzip for windows too - Cygwin is a good place for this.
  • You also need a copy of make. ActiveState built Perl with Microsoft's tools so you will need Microsoft's make program, called "nmake" that you can get from here.
  • If the module requires XS (c/c++ stuff) then you will need a copy of Visual C, however most do not, so you should be okay for most things.
  • Basically once you have downloaded the file, unpack it and follow the instructions in the README file inside the module - remembering that it's nmake not make.

Option 2

Don't forget that there is the Perl Package Manager can use other archives than just the default ActiveState one.

Option 3

You can use the normal Perl CPAN module to automatically install modules for you directly onto Windows. If the module has c in it you will need a c compiler but CPAN will take care of it for you. You can either use Cygwin and the version of Perl in there, or buy Microsoft's Compiler and use it with the Active State version of Perl.

Normally you don't need to compile anything when making a Perl module it's done all for you.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-10-20 15:49 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (210 votes). Check out past polls.