%general-entities; ]> Perl-&perl-version; Perl tools <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/perl.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.8 SBU</seg><seg>74 MB</seg></seglistitem> </segmentedlist> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/perl.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> </sect2> <sect2 role="installation"> <title>Installation of Perl First adapt some hard-wired paths to the C library: patch -Np1 -i ../perl-&perl-version;-libc-1.patch Now prepare Perl for compilation (make sure you get the 'IO Fcntl POSIX' right, they are all letters): ./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX' The meaning of the configure option: -Dstatic_ext='IO Fcntl POSIX' This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils package in the next chapter. Compile only the required tools: make perl utilities Then copy these tools and their libraries: cp perl pod/pod2man /tools/bin mkdir -p /tools/lib/perl5/&perl-version; cp -R lib/* /tools/lib/perl5/&perl-version; <para>The details on this package are found in <xref linkend="contents-perl"/>.</para> </sect2> </sect1>