Author: ken
Date: Sat Aug 19 18:04:07 2017
New Revision: 19043
Log:
Fix libxslt for glibc-2.26 so that it doesn't bomb out the compile of any
package using xsltlocale.h.
Modified:
trunk/BOOK/general/genlib/libxslt.xml
Modified: trunk/BOOK/general/genlib/libxslt.xml
==============================================================================
--- trunk/BOOK/general/genlib/libxslt.xml Sat Aug 19 15:43:35 2017
(r19042)
+++ trunk/BOOK/general/genlib/libxslt.xml Sat Aug 19 18:04:07 2017
(r19043)
@@ -113,7 +113,8 @@
commands:
</para>
-<screen><userinput>./configure --prefix=/usr --disable-static &&
+<screen><userinput>sed -i '/#include <xlocale.h>/d' libxslt/xsltlocale.h
&&
+./configure --prefix=/usr --disable-static &&
make</userinput></screen>
<para>
@@ -131,6 +132,14 @@
<sect2 role="commands">
<title>Command Explanations</title>
+ <para>
+ <command>sed -i '/#include <xlocale.h>/d'
libxslt/xsltlocale.h</command>:
+ with glibc-2.26, <filename>xlocale.h</filename> is no-longer installed,
+ any package using it should use <filename>locale.h</filename> but
+ <application>libxslt</application> references that on the previous line
+ of the header, so just delete this.
+ </para>
+
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page