5.32. Installing Perl-5.8.0

Estimated build time:           0.8 SBU
Estimated required disk space:  74 MB

5.32.1. Contents of Perl

The Perl package contains perl, the Practical Extraction and Report Language. Perl combines some of the best features of C, sed, awk and sh into one powerful language.

Installed programs: a2p, c2ph, dprofpp, enc2xs, find2perl, h2ph, h2xs, libnetcfg, perl, perl5.8.0 (link to perl), perlbug, perlcc, perldoc, perlivp, piconv, pl2pm, pod2html, pod2latex, pod2man, pod2text, pod2usage, podchecker, podselect, psed (link to s2p), pstruct (link to c2ph), s2p, splain and xsubpp

Installed libraries: (too many to name)

5.32.2.

5.32.3. Perl Installation Dependencies

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

5.32.4.

5.32.5. Installation of Perl

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

patch -Np1 -i ../perl-5.8.0-libc-3.patch

And make sure some static extensions get built:

chmod u+w hints/linux.sh
echo 'static_ext="IO re Fcntl"' >> hints/linux.sh

Now prepare Perl for compilation:

./configure.gnu --prefix=/tools

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.0
cp -R lib/* /tools/lib/perl5/5.8.0