aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/perl.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2008-10-30 05:35:58 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2008-10-30 05:35:58 +0000
commit863beeaa4725d490579d9f047d230318460d9a76 (patch)
tree0069f3ba0088aed298eb63a756b8021d2807d54c /chapter06/perl.xml
parent1b12edf6d420b7795b850b33011ac1bd1dbb5a7d (diff)
Fixed perl configuration so it knows the vendor library location.
Changes perl patches to a single consolidated patch with security and other fixes git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8718 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/perl.xml')
-rw-r--r--chapter06/perl.xml25
1 files changed, 18 insertions, 7 deletions
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 721809dbe..c467c3236 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -47,14 +47,16 @@
<screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
- <para>The following patch fixes known vulnerabilities:</para>
+ <para>The following patch fixes known vulnerabilities and other issues
+ identified by the developers:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&perl-security-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&perl-consolidated-patch;</userinput></screen>
- <para>The following patch fixes an incompatibility with
+ <!-- <para>The following patch fixes an incompatibility with
Glibc-&glibc-version;:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&perl-page-patch;</userinput></screen>
+ -->
<!-- Confirmed that this is not required any longer
<para>Fix an incompatibility with gcc-&gcc-version;:</para>
@@ -77,15 +79,24 @@
package is built. If you prefer, you can use the defaults that Perl
auto-detects, by preparing Perl for compilation with:</para>
-<screen><userinput remap="configure">./configure.gnu --prefix=/usr \
- -Dman1dir=/usr/share/man/man1 \
- -Dman3dir=/usr/share/man/man3 \
- -Dpager="/usr/bin/less -isR"</userinput></screen>
+<screen><userinput remap="configure">sh Configure -des -Dprefix=/usr \
+ -Dvendorprefix=/usr \
+ -Dman1dir=/usr/share/man/man1 \
+ -Dman3dir=/usr/share/man/man3 \
+ -Dpager="/usr/bin/less -isR"</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>
+
+ <varlistentry>
<term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
<listitem>
<para>This corrects an error in the way that <command>perldoc</command>