Here is part of this step by step manual:
As of version 5.005, ActivePerl supports the MakeMaker utility. This allows you to install modules from CPAN, but requires you to have a make utility, such as nmake or dmake. Modules are generally distributed in gzipped tar files, such as Data-Dumper-2.08.tar.gz.
However, ActivePerl includes the Perl Package Manager (PPM), a utility that allows you to install modules, including modules that contain binary extensions. You should consider using PPM to install a module, as this greatly simplifies the management of modules.
Nevertheless, there are times when it is necessary to build a module from source. Typically, an installation session goes something like this:
Extract the module. This creates a directory based on the name of the archive.
gzip -d -c Data-Dumper-2.08.tar.gz | tar xvf -
Change directory to the module's directory.
cd Data-Dumper-2.08
Consult the README file.
more < README
Run the Makefile.PL script. This uses the MakeMaker module to build a makefile you can build the extension with.
perl Makefile.PL
Run your make utility. This prepares the module for installation, and compiles any extension if one is present.
nmake
If this module has tests, run them.
nmake test
If the tests succeeded, install the module.
nmake install
See Where can I find Win32 ports of UNIX tools? for information on the availability of tools like gzip and tar.
Nmake is a 'make' like program for Win32 systems by Microsoft. It is available from ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe
Hope that this will help you.
Regards
Li Tin O've Weedle
mad Tsort's philosopher
In reply to Re: cpan and windows2000
by LiTinOveWeedle
in thread cpan and windows2000
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |