Installation of Perl First adapt some hard-wired paths to the C library: patch -Np1 -i ../perl-&perl-version;-libc.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=/stage1 Compile only the required tools: make perl utilities Then copy these tools and their libraries: cp perl pod/pod2man /stage1/bin mkdir -p /stage1/lib/perl5/5.8.0 cp -R lib/* /stage1/lib/perl5/5.8.0