Author: pierre
Date: Wed Jul 19 06:27:02 2017
New Revision: 18949
Log:
Fix libxml2 instructions for Python 3
Modified:
trunk/BOOK/general.ent
trunk/BOOK/general/genlib/libxml2.xml
trunk/BOOK/introduction/welcome/changelog.xml
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Wed Jul 19 03:01:26 2017 (r18948)
+++ trunk/BOOK/general.ent Wed Jul 19 06:27:02 2017 (r18949)
@@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "17"> <!-- Always 2 digits -->
+<!ENTITY day "19"> <!-- Always 2 digits -->
<!ENTITY month "07"> <!-- Always 2 digits -->
<!ENTITY year "2017">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "July 17th &year;">
+<!ENTITY releasedate "July 19th &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development -->
Modified: trunk/BOOK/general/genlib/libxml2.xml
==============================================================================
--- trunk/BOOK/general/genlib/libxml2.xml Wed Jul 19 03:01:26 2017
(r18948)
+++ trunk/BOOK/general/genlib/libxml2.xml Wed Jul 19 06:27:02 2017
(r18949)
@@ -93,9 +93,9 @@
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
- <xref linkend="python2"/> and <xref linkend="python3"/> (to build and
install a
- <application>Python</application> library module, additionally it is
- required to run the full suite of tests)
+ <xref linkend="python2"/> or <xref linkend="python3"/> (to build and
+ install a <application>Python</application> library module, additionally
+ it is required to run the full suite of tests)
<!-- As discovered by Bruce, itstool needs this module. -->
</para>
@@ -124,6 +124,13 @@
<title>Installation of libxml2</title>
<para>
+ If you want to build the <application>Python</application> module for
+ <xref linkend="python3"/>, run:
+ </para>
+
+<screen><userinput>sed -i '/_PyVerify_fd/,+1d'
python/types.c</userinput></screen>
+
+ <para>
Install <application>libxml2</application> by running the following
commands:
</para>
@@ -167,6 +174,16 @@
want libxml2 to use Python3 instead of Python2.
</para>
+ <para>
+ <option>--with-icu</option>: Add this switch if you have built
+ <xref linkend="icu"/>, for better unicode support.
+ </para>
+
+ <para>
+ <option>--with-threads</option>: Add this switch to enable multithread
+ support.
+ </para>
+
</sect2>
<sect2 role="content">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Wed Jul 19 03:01:26
2017 (r18948)
+++ trunk/BOOK/introduction/welcome/changelog.xml Wed Jul 19 06:27:02
2017 (r18949)
@@ -41,6 +41,18 @@
</itemizedlist>
</listitem>
-->
+
+ <listitem>
+ <para>July 19th, 2017</para>
+ <itemizedlist>
+ <listitem>
+ <para>[pierre] - Fix instructions for building libxml2 with
+ Python3, and add some command explanations. Fixes
+ <ulink url="&blfs-ticket-root;9467">#9467</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
<listitem>
<para>July 17th, 2017</para>
<itemizedlist>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page