%general-entities; ]> perl &perl-version;
&perl-url;
Perl-&perl-version; Perl tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter08/perl.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&perl-tmp-sbu;</seg> <seg>&perl-tmp-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Perl Prepare Perl for compilation: sh Configure -des \ -Dprefix=/usr \ -Dvendorprefix=/usr \ -Duseshrplib \ -Dprivlib=/usr/lib/perl5/&perl-version-min;/core_perl \ -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \ -Dsitelib=/usr/lib/perl5/&perl-version-min;/site_perl \ -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \ -Dvendorlib=/usr/lib/perl5/&perl-version-min;/vendor_perl \ -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl The meaning of the Configure options: -des This is a combination of three options: -d uses defaults for all items; -e ensures completion of all tasks; -s silences non-essential output. -Dvendorprefix=/usr This ensures perl knows how to tell packages where they should install their Perl modules. -Duseshrplib Build libperl needed by some Perl modules as a shared library, instead of a static library. -Dprivlib,-Darchlib,-Dsitelib,... These settings define where Perl looks for installed modules. The LFS editors chose to put them in a directory structure based on the MAJOR.MINOR version of Perl (&perl-version-min;) which allows upgrading Perl to newer patch levels (the patch level is the last dot separated part in the full version string like &perl-version;) without reinstalling all of the modules. Compile the package: make Install the package: make install <para>Details on this package are located in <xref linkend="contents-perl" role="."/></para> </sect2> </sect1>