diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-09-09 14:45:05 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-09-09 14:46:02 +0800 |
commit | 6c51e5ce7b92227de7406efd5e5db131db8163ac (patch) | |
tree | d31a4d134938fb4647d1c6171f96b7d48661b707 | |
parent | 1f20176cfb95061660c51225336f0c516fad64e0 (diff) |
perl: Move some explanations from Chapter 8 to Chapter 7
Explain switches once they show up first time.
-rw-r--r-- | chapter07/perl.xml | 32 | ||||
-rw-r--r-- | chapter08/perl.xml | 29 |
2 files changed, 32 insertions, 29 deletions
diff --git a/chapter07/perl.xml b/chapter07/perl.xml index ac0407087..c8e3d7c98 100644 --- a/chapter07/perl.xml +++ b/chapter07/perl.xml @@ -57,7 +57,8 @@ -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl</userinput></screen> <variablelist> - <title>The meaning of the new Configure options:</title> + <title>The meaning of the Configure options:</title> + <varlistentry> <term><parameter>-des</parameter></term> <listitem> @@ -67,6 +68,35 @@ </listitem> </varlistentry> + <varlistentry> + <term><parameter>-Dvendorprefix=/usr</parameter></term> + <listitem> + <para>This ensures <command>perl</command> knows how to + tell packages where they should install their Perl modules.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter>-Duseshrplib</parameter></term> + <listitem> + <para>Build <systemitem class='library'>libperl</systemitem> + needed by some Perl modules as a shared library, instead of + a static library.</para> + </listitem> + </varlistentry> + + <varlistentry> + <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> + <listitem> + <para>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.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> diff --git a/chapter08/perl.xml b/chapter08/perl.xml index b56e0e5e2..d3159595c 100644 --- a/chapter08/perl.xml +++ b/chapter08/perl.xml @@ -76,15 +76,7 @@ export BUILD_BZIP2=0</userinput></screen> -Dusethreads</userinput></screen> <variablelist> - <title>The meaning of the configure options:</title> - - <varlistentry> - <term><parameter>-Dvendorprefix=/usr</parameter></term> - <listitem> - <para>This ensures <command>perl</command> knows how to - tell packages where they should install their Perl modules.</para> - </listitem> - </varlistentry> + <title>The meaning of the new Configure options:</title> <varlistentry> <term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term> @@ -105,31 +97,12 @@ export BUILD_BZIP2=0</userinput></screen> </varlistentry> <varlistentry> - <term><parameter>-Duseshrplib</parameter></term> - <listitem> - <para>Build a shared libperl needed by some Perl modules.</para> - </listitem> - </varlistentry> - - <varlistentry> <term><parameter>-Dusethreads</parameter></term> <listitem> <para>Build Perl with support for threads.</para> </listitem> </varlistentry> - <varlistentry> - <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> - <listitem> - <para>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.</para> - </listitem> - </varlistentry> - </variablelist> <para>Compile the package:</para> |