[lfs-book] r9937 - in trunk/BOOK: . chapter01 chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Aug 13 13:20:40 PDT 2012


Author: bdubbs
Date: 2012-08-13 14:20:36 -0600 (Mon, 13 Aug 2012)
New Revision: 9937

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/flex.xml
   trunk/BOOK/chapter06/grub.xml
   trunk/BOOK/packages.ent
Log:
Updated to flex-2.5.37

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-08-13 19:59:47 UTC (rev 9936)
+++ trunk/BOOK/chapter01/changelog.xml	2012-08-13 20:20:36 UTC (rev 9937)
@@ -41,6 +41,10 @@
       <para>2012-08-13</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Upgrade to flex-2.5.37. Fixes
+          <ulink url="&lfs-ticket-root;3139">#3139</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Upgrade to IPRoute2-3.5.1. Fixes
           <ulink url="&lfs-ticket-root;3158">#3158</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter06/flex.xml
===================================================================
--- trunk/BOOK/chapter06/flex.xml	2012-08-13 19:59:47 UTC (rev 9936)
+++ trunk/BOOK/chapter06/flex.xml	2012-08-13 20:20:36 UTC (rev 9937)
@@ -41,10 +41,6 @@
   <sect2 role="installation">
     <title>Installation of Flex</title>
 
-    <para>Apply a patch that fixes a bug in the C++ scanner generator, that causes scanner compilation to fail when using GCC-&gcc-version;:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&flex-gcc-patch;</userinput></screen>
-
     <para>Prepare Flex for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>
@@ -57,6 +53,9 @@
 
 <screen><userinput remap="test">make -k check</userinput></screen>
 
+    <para>There are two tests that fail due to incompatibilities
+    with the most recent version of bison.</para>
+
     <para>Install the package:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>

Modified: trunk/BOOK/chapter06/grub.xml
===================================================================
--- trunk/BOOK/chapter06/grub.xml	2012-08-13 19:59:47 UTC (rev 9936)
+++ trunk/BOOK/chapter06/grub.xml	2012-08-13 20:20:36 UTC (rev 9937)
@@ -49,10 +49,13 @@
 <screen><userinput remap="configure">./configure --prefix=/usr          \
             --sysconfdir=/etc      \
             --disable-grub-emu-usb \
-            --disable-efiemu</userinput></screen>
+            --disable-efiemu       \
+            --disable-werror</userinput></screen>
 
-    <para>The --disable switches minimize what is built by disabling features
-    and testing programs not really needed for LFS.</para>
+    <para>The --disable-werror option allows the build to complete with
+    warnings introduced by more recent flex versions.  The other --disable
+    switches minimize what is built by disabling features and testing programs
+    not needed for LFS.</para>
 
     <para>Compile the package:</para>
 

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2012-08-13 19:59:47 UTC (rev 9936)
+++ trunk/BOOK/packages.ent	2012-08-13 20:20:36 UTC (rev 9937)
@@ -144,10 +144,10 @@
 <!ENTITY findutils-ch6-du "22 MB">
 <!ENTITY findutils-ch6-sbu "0.5 SBU">
 
-<!ENTITY flex-version "2.5.35">
-<!ENTITY flex-size "1,227 KB">
+<!ENTITY flex-version "2.5.37">
+<!ENTITY flex-size "1,280 KB">
 <!ENTITY flex-url "&sourceforge;flex/flex-&flex-version;.tar.bz2">
-<!ENTITY flex-md5 "10714e50cea54dc7a227e3eddcd44d57">
+<!ENTITY flex-md5 "c75940e1fc25108f2a7b3ef42abdae06">
 <!ENTITY flex-home "http://flex.sourceforge.net">
 <!--
 <!ENTITY flex-ch5-du "">




More information about the lfs-book mailing list