Installation of Perl
First adapt some hard-wired paths to the C library:
patch -Np1 -i ../perl-&perl-libc-patch-version;.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