aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-11-14 02:15:57 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-11-14 02:15:57 +0000
commitf47c6b77ec522f28199db279c17c9d9211ec47cc (patch)
tree7ebdcaa2a7b2c4a1a0cf97a9387f4a9505455a10 /chapter05
parent714cc0cdff49660b7b767bc2b74afc3a40dbd2ca (diff)
Upgraded to Perl-5.8.2 and streamlined build commands for Perl\'s Chapter 5 static extensions. Closes Bug 690.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3085 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/perl.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index 21ec2f969..be1597e30 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -9,6 +9,7 @@ Estimated required disk space: &perl-compsize-tools;</screen>
&aa-perl-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Perl</title>
@@ -16,14 +17,17 @@ Estimated required disk space: &perl-compsize-tools;</screen>
<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
-<para>And make sure some static extensions get built:</para>
+<para>Now prepare Perl for compilation:</para>
-<screen><userinput>chmod u+w hints/linux.sh
-echo 'static_ext="IO re Fcntl"' >> hints/linux.sh</userinput></screen>
+<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'</userinput></screen>
-<para>Now prepare Perl for compilation:</para>
+<para>The meaning of the configure option:</para>
-<screen><userinput>./configure.gnu --prefix=/tools</userinput></screen>
+<itemizedlist>
+<listitem><para><userinput>-Dstatic_ext='IO Fcntl'</userinput>: This tells
+Perl to build the minimum set of static extensions needed for running the
+Coreutils test suite in the next chapter.</para></listitem>
+</itemizedlist>
<para>Compile only the required tools:</para>