Added a sed command to the libxklavier instructions to fix a GCC-4.x build problem

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5022 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-09-08 22:28:45 +00:00
parent c5525bc861
commit b0ce34ab46
2 changed files with 16 additions and 1 deletions

View File

@ -44,6 +44,10 @@
<listitem>
<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>

View File

@ -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 @@ make</userinput></screen>
</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>