5.29. Perl-5.18.1

The Perl package contains the Practical Extraction and Report Language.

Approximate build time: 1.6 SBU
Required disk space: 235 MB

5.29.1. Installation of Perl

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

patch -Np1 -i ../perl-5.18.1-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.18.1
cp -Rv lib/* /tools/lib/perl5/5.18.1

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