%general-entities; ]> perl &perl-version;
&perl-url;
Perl-&perl-version; Perl tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter06/perl.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&perl-ch5-sbu;</seg> <seg>&perl-ch5-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Perl First apply the following patch to adapt some hard-wired paths to the C library: patch -Np1 -i ../&perl-libc-patch; The configuration script needs to be adjusted to run in the restricted LFS environment: chmod -v 0775 Configure sed -i -e '/Restore computed paths/i libswanted=""' Configure Prepare Perl for compilation: sh Configure -des -Dprefix=/tools Build the package: make CLDFLAGS='-lm' Although Perl comes with a test suite, it would be better to wait until it is insalled in the next chapter. Only a few of the utilities and libraries, need to be installed at this time: cp -v perl cpan/podlators/pod2man /tools/bin mkdir -pv /tools/lib/perl5/&perl-version; cp -Rv lib/* /tools/lib/perl5/&perl-version; <para>Details on this package are located in <xref linkend="contents-perl" role="."/></para> </sect2> </sect1>