%general-entities; ]> Temporary Perl-&perl-version; Perl temporary tools Installation of Perl In this section, we will add Perl to the temporary system in /tools. This package installation should technically be part of , but Perl has often had problems with cross-compiling, so we will compile and install it while in the final build environment. 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>