r5022 - in trunk/BOOK: introduction/welcome x/lib

randy at linuxfromscratch.org randy at linuxfromscratch.org
Thu Sep 8 15:28:46 PDT 2005


Author: randy
Date: 2005-09-08 16:28:45 -0600 (Thu, 08 Sep 2005)
New Revision: 5022

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/lib/libxklavier.xml
Log:
Added a sed command to the libxklavier instructions to fix a GCC-4.x build problem

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-08 19:16:08 UTC (rev 5021)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-08 22:28:45 UTC (rev 5022)
@@ -45,6 +45,10 @@
       <para>September 8th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a sed command to the libxklavier instructions
+          to fix a GCC-4.x build problem.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to libxslt-1.1.15.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/x/lib/libxklavier.xml
===================================================================
--- trunk/BOOK/x/lib/libxklavier.xml	2005-09-08 19:16:08 UTC (rev 5021)
+++ trunk/BOOK/x/lib/libxklavier.xml	2005-09-08 22:28:45 UTC (rev 5022)
@@ -72,7 +72,8 @@
     <para>Install <application>libxklavier</application> by running the
     following commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>sed -i "s/-Wall -Werror/-Wall/" libxklavier/Makefile.{am,in} &&
+./configure --prefix=/usr &&
 make</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
@@ -81,6 +82,16 @@
 
   </sect2>
 
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><command>sed -i "..." libxklavier/Makefile.{am,in}</command>: Using
+    <application>GCC</application>-4.x to compile this package will create
+    warnings which are treated as errors and the build fails. This command
+    removes the flags that cause the warnings to be treated as errors.</para>
+
+  </sect2>
+
   <sect2 role="content">
     <title>Contents</title>
 




More information about the blfs-book mailing list