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 &amp;&amp;
+<screen><userinput>sed -i "s/-Wall -Werror/-Wall/" 
libxklavier/Makefile.{am,in} &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
 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>
 

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

Reply via email to