%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; Prepare Perl for compilation (make sure to get the 'Data/Dumper Fcntl IO' part of the command correct—they are all letters): sh Configure -des -Dprefix=/tools \ -Dstatic_ext='Data/Dumper Fcntl IO' The meaning of the configure options: -Dstatic_ext='Data/Dumper Fcntl IO POSIX' This tells Perl to build the minimum set of static extensions needed for installing and testing the Coreutils and Glibc packages in the next chapter. Only a few of the utilities contained in this package, and one of its libraries, need to be built: make perl utilities ext/Errno/pm_to_blib 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 in the next chapter if desired. Install these tools and their libraries: cp -v perl pod/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>