Linux From Scratch: Version 5.0-pre3
Prev | Chapter 6. Installing basic system software | Next

# Installing Perl-5.8.0

    Estimated build time:           2.9 SBU
    Estimated required disk space:  143 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

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

Prev | Home | Next
Installing Inetutils-1.4.2 | Up | Installing Texinfo-4.6