aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--chapter01/changelog.xml8
-rw-r--r--chapter05/perl.xml14
-rw-r--r--entities/perl.ent6
3 files changed, 19 insertions, 9 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 0592302e8..5f93b8076 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -15,6 +15,7 @@
<listitem><para>man-pages-1.62</para></listitem>
<listitem><para>lfs-utils-0.4</para></listitem>
<listitem><para>modutils-2.4.26</para></listitem>
+<listitem><para>perl-5.8.2</para></listitem>
<listitem><para>procps-3.1.14</para></listitem>
<listitem><para>sed-4.0.8</para></listitem>
</itemizedlist>
@@ -33,6 +34,10 @@
</itemizedlist>
</listitem>
+<listitem><para>November 13th, 2003 [greg]: Upgraded to Perl-5.8.2 and
+streamlined build commands for Perl's Chapter 5 static
+extensions. Closes Bug 690.</para></listitem>
+
<listitem><para>November 13th, 2003 [gerard]: Upgraded to
lfs-utils-0.4 and man-pages-1.62</para></listitem>
@@ -43,7 +48,8 @@ supposed to be.</para></listitem>
<listitem><para>November 12th, 2003 [greg]: Removed unnecessary Automake
symlink.</para></listitem>
-<listitem><para>November 12th, 2003 [greg]: Removed unnecessary Procps Locale Patch. Closes Bug 705.</para></listitem>
+<listitem><para>November 12th, 2003 [greg]: Removed unnecessary Procps Locale
+Patch. Closes Bug 705.</para></listitem>
<listitem><para>November 12th, 2003 [greg]: Upgraded to Autoconf-2.58,
Automake-1.7.9, File-4.06, Modutils-2.4.26, Procps-3.1.14 and
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>
diff --git a/entities/perl.ent b/entities/perl.ent
index 8b6506677..dcc3a82cb 100644
--- a/entities/perl.ent
+++ b/entities/perl.ent
@@ -8,14 +8,14 @@
<!ENTITY aa-perl-dep SYSTEM "../appendixa/perl-dep.xml">
<!ENTITY aa-perl-down SYSTEM "../appendixa/perl-down.xml">
-<!ENTITY perl-version "5.8.0">
+<!ENTITY perl-version "5.8.2">
<!ENTITY perl-depversion "5.6.1">
<!ENTITY perl-contversion "5.8.0">
<!ENTITY perl-dir "perl-&perl-version;">
<!ENTITY perl-package "perl-&perl-version;.tar.gz">
-<!ENTITY perl-size "10,765 KB">
+<!ENTITY perl-size "11,617 KB">
-<!ENTITY perl-libc-patch "perl-&perl-version;-libc-3.patch">
+<!ENTITY perl-libc-patch "perl-&perl-version;-libc-1.patch">
<!ENTITY perl-libc-patch-size "1 KB">
<!ENTITY perl-compsize-tools "74 MB">