mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
perl: Move some explanations from Chapter 8 to Chapter 7
Explain switches once they show up first time.
This commit is contained in:
parent
1f20176cfb
commit
6c51e5ce7b
@ -57,7 +57,8 @@
|
|||||||
-Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl</userinput></screen>
|
-Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the new Configure options:</title>
|
<title>The meaning of the Configure options:</title>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>-des</parameter></term>
|
<term><parameter>-des</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -67,6 +68,35 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
@ -76,15 +76,7 @@ export BUILD_BZIP2=0</userinput></screen>
|
|||||||
-Dusethreads</userinput></screen>
|
-Dusethreads</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the configure options:</title>
|
<title>The meaning of the new 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>
|
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
|
<term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
|
||||||
@ -104,13 +96,6 @@ export BUILD_BZIP2=0</userinput></screen>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><parameter>-Duseshrplib</parameter></term>
|
|
||||||
<listitem>
|
|
||||||
<para>Build a shared libperl needed by some Perl modules.</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>-Dusethreads</parameter></term>
|
<term><parameter>-Dusethreads</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
@ -118,18 +103,6 @@ export BUILD_BZIP2=0</userinput></screen>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user