Chapter 1
Build
Now that you've unpacked the module, you need to build it. Enter the directory
created by unpacking the compressed module file. It's usually named the same as
the compressed file but with the .tar.gz or .zip ending removed.
If the module has no installation instructions, look for a file called Makefile.PL.
If it exists, enter the following commands:
$ perl Makefile.PL
$ make
These commands will fail if you're missing a prerequisite module. A prerequisite
module is a module that is needed by the module you're installing. If the module
has unsatisfied prerequisites, you'll need to find the required module or modules
and install them before returning to installing this module.
These commands may also fail if you're using a Microsoft Windows system,
because few Windows systems have the make utility installed. You may need to
install the CygWin toolkit I mentioned in the Decompression section, which
offers the GNU make utility as an optional component. Alternately, you may have a
program called nmake
9
or dmake, which can function as make.
Regrettably, there are some modules on CPAN that don't use the standard
module packaging system. Sometimes these modules will include an INSTALL file
containing installation instructions, or installation instructions will be contained
in the README file.
Test
Many CPAN modules come with tests to verify that the module is working properly
on your system. The standard way to run module tests is with this command:
$ make test
9. You can download nmake from
http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN US/Nmake15.exe.
18
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved