Author: randy
Date: 2008-10-10 11:41:36 -0600 (Fri, 10 Oct 2008)
New Revision: 8620

Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/chapter06.xml
   trunk/BOOK/chapter06/perl.xml
Log:
Updated the Perl instructions, thanks to Greg Shafer for pointing out the 
issues - This change also required that the Zlib package is built right before 
the Perl package in Chapter 6

Modified: trunk/BOOK/appendices/dependencies.xml
===================================================================
--- trunk/BOOK/appendices/dependencies.xml      2008-10-10 16:40:33 UTC (rev 
8619)
+++ trunk/BOOK/appendices/dependencies.xml      2008-10-10 17:41:36 UTC (rev 
8620)
@@ -1072,7 +1072,7 @@
 
         <seglistitem>
          <seg>Bash, Berkeley DB, Binutils, Coreutils, Gawk, GCC, Glibc, Grep,
-         Groff, Make, and Sed</seg>
+         Groff, Make, Sed, and Zlib</seg>
         </seglistitem>
       </segmentedlist>
 
@@ -1475,7 +1475,7 @@
         <segtitle>&before;</segtitle>
 
         <seglistitem>
-          <seg>File, Module-Init-Tools, and Util-Linux</seg>
+          <seg>File, Module-Init-Tools, Perl, and Util-Linux</seg>
         </seglistitem>
       </segmentedlist>
 

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2008-10-10 16:40:33 UTC (rev 8619)
+++ trunk/BOOK/chapter01/changelog.xml  2008-10-10 17:41:36 UTC (rev 8620)
@@ -41,6 +41,11 @@
       <para>2008-10-10</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Updated the Perl instructions. Thanks to Greg Shafer
+          for pointing out the issues. This change also required that the Zlib
+          package is built right before the Perl package in Chapter 06.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated Vim to 7.2.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/chapter06/chapter06.xml
===================================================================
--- trunk/BOOK/chapter06/chapter06.xml  2008-10-10 16:40:33 UTC (rev 8619)
+++ trunk/BOOK/chapter06/chapter06.xml  2008-10-10 17:41:36 UTC (rev 8620)
@@ -35,9 +35,9 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="ncurses.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="procps.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="libtool.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="zlib.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="perl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="readline.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="zlib.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="autoconf.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="automake.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"; href="bash.xml"/>

Modified: trunk/BOOK/chapter06/perl.xml
===================================================================
--- trunk/BOOK/chapter06/perl.xml       2008-10-10 16:40:33 UTC (rev 8619)
+++ trunk/BOOK/chapter06/perl.xml       2008-10-10 17:41:36 UTC (rev 8620)
@@ -56,10 +56,22 @@
 
 <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>
 
 <screen><userinput remap="pre">sed -i 's/command /command[ -]/' 
makedepend.SH</userinput></screen>
+    -->
 
+    <para>This version of Perl now builds the Compress::Raw::Zlib module. By
+    default Perl will use an internal copy of the Zlib source for the build.
+    Issue the following command so that Perl will use the Zlib library
+    installed on the system:</para>
+
+<screen><userinput remap="pre">sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = 
False|"           \
+       -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
+       -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
+    ext/Compress/Raw/Zlib/config.in</userinput></screen>
+
     <para>To have full control over the way Perl is set up, you can run the
     interactive <command>Configure</command> script and hand-pick the way this
     package is built. If you prefer, you can use the defaults that Perl
@@ -99,7 +111,7 @@
 
     <para>To test the results (approximately 2.5 SBU), issue:</para>
 
-<screen><userinput remap="test">make -k test || true</userinput></screen>
+<screen><userinput remap="test">make test</userinput></screen>
 
     <para>Install the package:</para>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to