Details on this package are located in Section 10.24.2, “Contents of Perl.”
The Perl package contains the Practical Extraction and Report Language.
First adapt some hard-wired paths to the C library by applying the following patch:
patch -Np1 -i ../perl-5.8.8-libc-2.patch
Prepare Perl for compilation (make sure to get the 'Data/Dumper Fcntl IO POSIX' part of the command correct—they are all letters):
./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper IO Fcntl POSIX' -Dcc="gcc ${BUILD32}"
The meaning of the configure option:
This tells Perl to build the minimum set of static extensions needed for installing and testing the Glibc and Coreutils packages later in this chapter.
Now we are ready to make our perl utilities:
make perl utilities
Although Perl comes with a test suite, it is not recommended to run it at this point. Only part of Perl was built and running make test now will cause the rest of Perl to be built as well, which is unnecessary at this point. The test suite can be run later in this chapter if desired.
Install these tools and their libraries:
cp -v perl pod/pod2man /tools/bin install -dv /tools/lib/perl5/5.8.8 cp -Rv lib/* /tools/lib/perl5/5.8.8
Finally, create a necessary symlink:
ln -sv /tools/bin/perl /usr/bin
Details on this package are located in Section 10.24.2, “Contents of Perl.”