%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 a 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: -Dcc="gcc" Tells Perl to use gcc instead of the default cc. Compile the package: make Although Perl comes with a test suite, it is not recommended to run it at this point, as this Perl installation is only temporary. The test suite can be run later in this chapter if desired. Install the package: make install Finally, create a necessary symlink: ln -sfv /tools/bin/perl /usr/bin <para>Details on this package are located in <xref linkend="contents-perl" role="."/></para> </sect2> </sect1>