- Timestamp:
- 03/05/2021 04:33:24 PM (3 years ago)
- Branches:
- 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, 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:
- 136321c7
- Parents:
- 79758477
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/libxml2.xml
r79758477 r0b312a7 91 91 92 92 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead> 93 93 <!-- do not advertize python2 here, except in the note below 94 94 <bridgehead renderas="sect4">Optional</bridgehead> 95 95 <para role="optional"> 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)--> 99 <!-- As discovered by Bruce, itstool needs this module. --> 96 <xref linkend="python2"/> 97 </para> 98 --> 99 <bridgehead renderas="sect4">Optional</bridgehead> 100 <para role="optional"> 101 <xref linkend="icu"/> (see below) and 102 <xref linkend="valgrind"/> (may be used in the tests) 100 103 </para> 101 104 102 105 <note> 106 <!-- python3 is always available now 103 107 <para> 104 108 Some packages which utilize <application>libxml2</application> (such as … … 108 112 <application>Python3</application> module is not available. 109 113 </para> 110 114 --> 111 115 <para> 112 116 The old <application>Python2</application> module can be built after … … 116 120 </note> 117 121 118 <bridgehead renderas="sect4">Optional</bridgehead>119 <para role="optional">120 <xref linkend="icu"/> (see below) and121 <xref linkend="valgrind"/> (may be used in the tests)122 </para>123 124 122 <para condition="html" role="usernotes"> 125 123 User Notes: <ulink url="&blfs-wiki;/libxml2"/> … … 137 135 138 136 <para> 139 First fix a problem generating the Python3 module with Python-3.9.0 and later: 137 Fix a problem generating the Python3 module with Python-3.9.0 and 138 later: 140 139 </para> 141 140 142 141 <screen><userinput>sed -i '/if Py/{s/Py/(Py/;s/)/))/}' python/{types.c,libxml.c}</userinput></screen> 143 144 <!--<para>145 To ensure that the <application>Python</application> module can be146 built by <xref linkend="python3"/>, run:147 </para>148 149 <screen><userinput>sed -i '/_PyVerify_fd/,+1d' python/types.c</userinput></screen>-->150 142 151 143 <para> … … 202 194 203 195 </note> 196 204 197 <para> 205 198 Now, as the <systemitem class="username">root</systemitem> user: … … 214 207 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 215 208 href="../../xincludes/static-libraries.xml"/> 216 <!-- 217 <para> 218 <parameter>sed -i '/_PyVerify_fd/,+1d' python/types.c</parameter>: This 219 fixes the <application>Python3</application> code to build with 220 <application>gcc-7</application>. 221 </para> 222 --> 209 223 210 <para> 224 211 <parameter>--with-history</parameter>: This switch enables
Note:
See TracChangeset
for help on using the changeset viewer.