Installing Perl-&perl-version;
&buildtime; &perl-time-tools;
&diskspace; &perl-compsize-tools;
&aa-perl-down;
&aa-perl-dep;
Installation of Perl
First adapt some hard-wired paths to the C library:
patch -Np1 -i ../&perl-libc-patch;
Perl insists on using the arch program to find out
the machine type. Create a little script to mimic this command:
echo "uname -m" > /tools/bin/arch
chmod 755 /tools/bin/arch
Now prepare Perl for compilation (make sure you get the 'IO Fcntl'
right, they are all letters):
./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'
The meaning of the configure option:
-Dstatic_ext='IO Fcntl': This tells
Perl to build the minimum set of static extensions needed for running the
Coreutils test suite in the next chapter.
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/&perl-version;
cp -R lib/* /tools/lib/perl5/&perl-version;
The details on this package are found in .