5.28. Perl-5.16.2

The Perl package contains the Practical Extraction and Report Language.

Approximate build time: 1.8 SBU
Required disk space: 237 MB

5.28.1. Installation of Perl

First apply the following patch to adapt some hard-wired paths to the C library:

patch -Np1 -i ../perl-5.16.2-libc-1.patch

Prepare Perl for compilation:

sh Configure -des -Dprefix=/tools

Build the package:

make

Although Perl comes with a test suite, it would be better to wait until it is installed in the next chapter.

Only a few of the utilities and libraries, need to be installed at this time:

cp -v perl cpan/podlators/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/5.16.2
cp -Rv lib/* /tools/lib/perl5/5.16.2

Details on this package are located in Section 6.37.2, “Contents of Perl.”