%general-entities; ]> Temporary Perl-&perl-version; Perl temporary tools Installation of Perl First adapt some hard-wired paths to the C library by applying the following patch: patch -Np1 -i ../&perl-libc-patch; Change the hardcoded path from /usr/include to /tools/include: sed -i 's@/usr/include@/tools/include@g' ext/Errno/Errno_pm.PL Prepare Temporary Perl for compilation: ./configure.gnu --prefix=/tools -Dcc="gcc" The meaning of the configure option: -Dstatic_ext='Data/Dumper IO Fcntl POSIX' 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 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: make install Finally, create a necessary symlink: ln -sv /tools/bin/perl /usr/bin <para>Details on this package are located in <xref linkend="contents-perl" role="."/></para> </sect2> </sect1>