%general-entities; ]> Perl-&perl-version; Perl tools &buildtime; 0.8 SBU &diskspace; 74 MB Installation of Perl First adapt some hard-wired paths to the C library: patch -Np1 -i ../perl-&perl-version;-libc-1.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 POSIX' right, they are all letters): ./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX' The meaning of the configure option: -Dstatic_ext='IO Fcntl POSIX': This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils package 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 .