Explorar o código

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
Greg Schafer %!s(int64=22) %!d(string=hai) anos
pai
achega
f47c6b77ec
Modificáronse 3 ficheiros con 19 adicións e 9 borrados
  1. 7 1
      chapter01/changelog.xml
  2. 9 5
      chapter05/perl.xml
  3. 3 3
      entities/perl.ent

+ 7 - 1
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

+ 9 - 5
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>
 

+ 3 - 3
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">