5.28. Perl-5.16.1

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.1-libc-2.patch

Prepare Perl for compilation:

sh Configure -des -Dprefix=/tools

Build the package:


Although Perl comes with a test suite, it would be better to wait until it is insalled 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.1
cp -Rv lib/* /tools/lib/perl5/5.16.1

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