Changeset 325113f for general/genlib
- Timestamp:
- 05/30/2012 03:39:58 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 694c7a8
- Parents:
- a87a374
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/libxml2.xml
ra87a374 r325113f 5 5 %general-entities; 6 6 7 <!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz"> 8 <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz"> 9 <!ENTITY libxml2-md5sum "8127a65e8c3b08856093099b52599c86"> 7 <!ENTITY libxml2-download-http 8 "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz"> 9 <!ENTITY libxml2-download-ftp 10 "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz"> 11 <!ENTITY libxml2-md5sum "c62106f02ee00b6437f0fb9d370c1093"> 10 12 <!ENTITY libxml2-size "4.7 MB"> 11 <!ENTITY libxml2-buildsize " 104 MB (additional 25 MB to run the full test suite)">12 <!ENTITY libxml2-time " 1.0 SBU (additional 0.2 SBU to run the full test suite)">13 <!ENTITY libxml2-buildsize "89 MB"> 14 <!ENTITY libxml2-time "0.7 SBU"> 13 15 ]> 14 16 … … 30 32 <title>Introduction to libxml2</title> 31 33 32 <para>The <application>libxml2</application> package contains 33 XML libraries. These are useful for parsing XML files.</para> 34 <para> 35 The <application>libxml2</application> package contains XML libraries. 36 These are useful for parsing XML files. 37 </para> 34 38 35 39 &lfs71_checked; … … 60 64 <itemizedlist spacing='compact'> 61 65 <listitem> 62 <para>Optional Testsuite: <ulink 63 url="http://www.w3.org/XML/Test/xmlts20080827.tar.gz"/> - This 64 enables <command>make check</command> to do complete testing.</para> 66 <para> 67 Optional Testsuite: 68 <ulink url="http://www.w3.org/XML/Test/xmlts20080827.tar.gz"/> - This 69 enables <command>make check</command> to do complete testing. 70 </para> 65 71 </listitem> 66 72 </itemizedlist> … … 68 74 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead> 69 75 70 <bridgehead renderas="sect4">Optional</bridgehead> 71 <para role="optional"><xref linkend="python2"/> (to build and install a 72 <application>Python</application> library module, additionally it is 73 required to run the full suite of tests)</para> 76 <bridgehead renderas="sect4">Recommended</bridgehead> 77 <para role="recommended"> 78 <xref linkend="python2"/> (to build and install a 79 <application>Python</application> library module, additionally it is 80 required to run the full suite of tests) 81 </para> 74 82 75 83 <note> 76 <para> Some packages which utilize77 <application>libxml2</application> (such as78 <application>GNOME Doc Utils</application>) need the79 <application>Python</application> module installed to function80 properly and some packages (such as GNOME Panel) will not build81 properly if the <application>Python</application> module is not82 available.</para>84 <para> 85 Some packages which utilize <application>libxml2</application> (such as 86 <application>GNOME Doc Utils</application>) need the 87 <application>Python</application> module installed to function properly 88 and some packages (such as GNOME Panel) will not build properly if the 89 <application>Python</application> module is not available. 90 </para> 83 91 </note> 84 92 85 <para condition="html" role="usernotes"> User Notes:86 <ulink url="&blfs-wiki;/libxml2"/></para>87 93 <para condition="html" role="usernotes"> 94 User Notes: <ulink url="&blfs-wiki;/libxml2"/> 95 </para> 88 96 </sect2> 89 97 … … 95 103 <screen><userinput>tar xf ../xmlts20080827.tar.gz</userinput></screen> 96 104 97 <para>Install <application>libxml2</application> by running the following 98 commands:</para> 99 100 <screen><userinput>./configure --prefix=/usr && 105 <para> 106 Install <application>libxml2</application> by running the following 107 commands: 108 </para> 109 110 <screen><userinput>./configure --prefix=/usr --disable-static && 101 111 make</userinput></screen> 102 112 103 <para>To test the results, issue: <command>make check</command>. If you have 104 installed <application>Python</application> this will conclude by reporting 105 a failure in the regression tests. The extended testsuite runs near the end 106 of the tests, it will report a count of errors, and then report how many are 107 expected.</para> 108 109 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 113 <para>To test the results, issue: <command>make check</command>.</para> 114 115 <para> 116 Now, as the <systemitem class="username">root</systemitem> user: 117 </para> 110 118 111 119 <screen role="root"><userinput>make install</userinput></screen> 112 113 120 </sect2> 114 121 … … 116 123 <title>Command Explanations</title> 117 124 118 <para><parameter>--with-history</parameter>: If this option is used, it 119 enables <application>Readline</application> support when running 120 <command>xmlcatalog</command> or <command>xmllint</command> in shell 121 mode.</para> 122 123 <caution> 124 <para>When using history support, <command>make check</command> will 125 hang forever if either <filename>/etc/inputrc</filename> or 126 <filename>~/.inputrc</filename> has the option 127 <option>show-all-if-ambiguous</option> or 128 <option>show-all-if-available</option> turned on.</para> 129 </caution> 130 131 <para><parameter>--enable-shared --disable-static</parameter>: This pair 132 of switches prevents the static libraries in this package from being 133 built and installed.</para> 134 125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 126 href="../../xincludes/static-libraries.xml"/> 127 128 <para> 129 <option>--with-history</option>: If this option is used, it enables 130 <application>Readline</application> support when running 131 <command>xmlcatalog</command> or <command>xmllint</command> in shell mode. 132 </para> 135 133 </sect2> 136 134 … … 144 142 145 143 <seglistitem> 146 <seg>xml2-config, xmlcatalog, and xmllint</seg> 147 <seg>libxml2.{so,a} and optionally, the libxml2mod.{so,a} 148 <application>Python</application> module</seg> 149 <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;, 150 /usr/share/doc/libxml2-python-&libxml2-version; and 151 /usr/share/gtk-doc/html/libxml2</seg> 144 <seg> 145 xml2-config, 146 xmlcatalog and 147 xmllint 148 </seg> 149 <seg> 150 libxml2.so and optionally, the libxml2mod.so 151 <application>Python</application> module 152 </seg> 153 <seg> 154 /usr/include/libxml2, 155 /usr/share/doc/libxml2-&libxml2-version;, 156 /usr/share/doc/libxml2-python-&libxml2-version; and 157 /usr/share/gtk-doc/html/libxml2 158 </seg> 152 159 </seglistitem> 153 160 </segmentedlist> … … 161 168 <term><command>xml2-config</command></term> 162 169 <listitem> 163 <para>determines the compile and linker flags that should be used to 164 compile and link programs that use 165 <filename class='libraryfile'>libxml2</filename>.</para> 170 <para> 171 determines the compile and linker flags that should be used to 172 compile and link programs that use 173 <filename class='libraryfile'>libxml2</filename>. 174 </para> 166 175 <indexterm zone="libxml2 xml2-config"> 167 176 <primary sortas="b-xml2-config">xml2-config</primary> … … 173 182 <term><command>xmlcatalog</command></term> 174 183 <listitem> 175 <para>is used to monitor and manipulate XML 176 and SGML catalogs.</para> 184 <para> 185 is used to monitor and manipulate XML and SGML catalogs. 186 </para> 177 187 <indexterm zone="libxml2 xmlcatalog"> 178 188 <primary sortas="b-xmlcatalog">xmlcatalog</primary> … … 184 194 <term><command>xmllint</command></term> 185 195 <listitem> 186 <para>parses XML files and outputs reports (based 187 upon options) to detect errors in XML coding.</para> 196 <para> 197 parses XML files and outputs reports (based upon options) to detect 198 errors in XML coding. 199 </para> 188 200 <indexterm zone="libxml2 xmllint"> 189 201 <primary sortas="b-xmllint">xmllint</primary> … … 193 205 194 206 <varlistentry id="libxml2-lib"> 195 <term><filename class='libraryfile'>libxml2.{so,a}</filename></term> 196 <listitem> 197 <para> libraries provide the functions for programs to parse files 198 that use the XML format.</para> 207 <term><filename class='libraryfile'>libxml2.so</filename></term> 208 <listitem> 209 <para> 210 provides functions for programs to parse files that use the XML 211 format. 212 </para> 199 213 <indexterm zone="libxml2 libxml2-lib"> 200 <primary sortas="c-libxml2">libxml2.{so,a}</primary> 201 </indexterm> 202 </listitem> 203 </varlistentry> 204 214 <primary sortas="c-libxml2">libxml2.so</primary> 215 </indexterm> 216 </listitem> 217 </varlistentry> 205 218 </variablelist> 206 207 </sect2> 208 219 </sect2> 209 220 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.