Installing Perl-5.8.3

Approximate build time:  0.8 SBU
Required disk space:     74 MB

Official download location for Perl (5.8.3):
http://www.cpan.org/src/
And for the Perl Libc Patch:
http://www.linuxfromscratch.org/patches/lfs/cvs/perl-5.8.3-libc-1.patch

For its installation Perl depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed.

Installation of Perl

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

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

Now prepare Perl for compilation (make sure to get the 'IO Fcntl' right, they are all letters):

./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'

The meaning of the configure option:

Compile only the required tools:

make perl utilities

Then copy these tools and their libraries:

cp perl pod/pod2man /tools/bin
mkdir -p /tools/lib/perl5/5.8.3
cp -R lib/* /tools/lib/perl5/5.8.3

The details on this package are found in the Section called Contents of Perl in Chapter 6.