Installing Perl-5.8.0

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

Contents of Perl

(Last checked against version 5.8.0.)

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)

Perl Installation Dependencies

(Last checked against version 5.6.1.)

Bash: sh
Binutils: ar, as, ld, nm
Coreutils: basename, cat, chmod, comm, cp, date, echo, expr, hostname, ln,
             ls, mkdir, mv, pwd, rm, sort, split, touch, tr, uname, wc,
             whoami, uniq
Diffutils: cmp
Gawk: awk
GCC: cc, cc1, collect2, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed

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