6.32. Installing Perl-5.8.0

Estimated build time:           2.9 SBU
Estimated required disk space:  143 MB

6.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)

6.32.2.

6.32.3. Perl Installation Dependencies

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

6.32.4.

6.32.5. Installation of Perl

Prepare Perl for compilation:

./configure.gnu --prefix=/usr

If you want more control over the way Perl sets itself up to be built, you can run the interactive Configure script instead and modify the way Perl is built. If you think you can live with the (sensible) defaults Perl auto-detects, then just use the command listed above.

Compile the package:

make

This package has a test suite available which can perform a number of checks to ensure it built correctly. Should you choose to run it, you first have to create a basic /etc/hosts file, needed by a couple of tests to resolve the name localhost:

echo "127.0.0.1 localhost $(hostname)" > /etc/hosts

Now run the tests, if you wish:

make test

And install the package:

make install