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.
- search.cpan.org
- Adding CPAN Modules to Active State Perl.
- Modules in the Windows environment.
- How to install a module in XP. added
- XML::LibXML and XML::LibXSLT ppd - a specific module question, but the same principle.
|
---|