Ignore:
Timestamp:
07/19/2017 01:27:02 PM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f5c5306
Parents:
765c2a7
Message:

Fix libxml2 instructions for Python 3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18949 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/libxml2.xml

    r765c2a7 rca25773  
    9494    <bridgehead renderas="sect4">Recommended</bridgehead>
    9595    <para role="recommended">
    96       <xref linkend="python2"/> and <xref linkend="python3"/> (to build and install a
    97       <application>Python</application> library module, additionally it is
    98       required to run the full suite of tests)
     96      <xref linkend="python2"/> or <xref linkend="python3"/> (to build and
     97      install a <application>Python</application> library module, additionally
     98      it is required to run the full suite of tests)
    9999      <!-- As discovered by Bruce, itstool needs this module. -->
    100100    </para>
     
    125125
    126126    <para>
     127      If you want to build the <application>Python</application> module for
     128      <xref linkend="python3"/>, run:
     129    </para>
     130
     131<screen><userinput>sed -i '/_PyVerify_fd/,+1d' python/types.c</userinput></screen>
     132
     133    <para>
    127134      Install <application>libxml2</application> by running the following
    128135      commands:
     
    166173      <option>--with-python=/usr/bin/python3</option>: Add this switch if you
    167174      want libxml2 to use Python3 instead of Python2.
     175    </para>
     176
     177    <para>
     178      <option>--with-icu</option>: Add this switch if you have built
     179      <xref linkend="icu"/>, for better unicode support.
     180    </para>
     181
     182    <para>
     183      <option>--with-threads</option>: Add this switch to enable multithread
     184      support.
    168185    </para>
    169186
Note: See TracChangeset for help on using the changeset viewer.