Author: dj
Date: 2009-09-26 22:45:35 -0600 (Sat, 26 Sep 2009)
New Revision: 8043
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/x/lib/freeglut.xml
Log:
Added sed to FreeGLUT to aviod failure.
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2009-09-27 04:09:50 UTC
(rev 8042)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2009-09-27 04:45:35 UTC
(rev 8043)
@@ -57,6 +57,10 @@
<para>[dj] - Moved items not part of the official xorg distribution
to the correct sections of the book.</para>
</listitem>
+ <listitem>
+ <para>[dj] - Added sed to freeglut to remove -Werror from CFLAGS and
+ CXXFlags in FreeGLUT.</para>
+ </listitem>
</itemizedlist>
</listitem>
Modified: trunk/BOOK/x/lib/freeglut.xml
===================================================================
--- trunk/BOOK/x/lib/freeglut.xml 2009-09-27 04:09:50 UTC (rev 8042)
+++ trunk/BOOK/x/lib/freeglut.xml 2009-09-27 04:45:35 UTC (rev 8043)
@@ -76,7 +76,8 @@
<para>Install <application>freeglut</application> by running the
following commands:</para>
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>sed 's...@-werror@@g' -i configure &&
+./configure --prefix=/usr &&
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@@ -90,6 +91,17 @@
</sect2>
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para><command>sed 's...@-werror@@g' -i configure</command>: This command
+ removes the <parameter>-Werror</parameter> flag from the
+ <parameter>CFLAGS</parameter> and <parameter>CXXFLAGS</parameter>
+ environment variables to avoid compilation failures due to old
+ coding standards.</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