source: general/genlib/libxml2.xml@ f231f7bc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f231f7bc was 0d5a3a9, checked in by Randy McMurchy <randy@…>, 14 years ago

Added LFS version check information to LibXML2

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

  • Property mode set to 100644
File size: 7.6 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c5854c2]7 <!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
[dd58fed6]8 <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
[9a788838]9 <!ENTITY libxml2-md5sum "9abc9959823ca9ff904f1fbcf21df066">
[a270244]10 <!ENTITY libxml2-size "4.7 MB">
[9a788838]11 <!ENTITY libxml2-buildsize "104 MB (additional 25 MB to run the full test suite)">
12 <!ENTITY libxml2-time "1.1 SBU (additional 0.2 SBU to run the full test suite)">
[52d29f7]13]>
14
[f45b1953]15<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
[1515ed8a]16 <?dbhtml filename="libxml2.html"?>
[8e75f8b9]17
[1515ed8a]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[8e75f8b9]22
[437700ae]23 <title>libxml2-&libxml2-version;</title>
[8e75f8b9]24
[1515ed8a]25 <indexterm zone="libxml2">
26 <primary sortas="a-Libxml2">Libxml2</primary>
27 </indexterm>
28
29 <sect2 role="package">
[437700ae]30 <title>Introduction to libxml2</title>
[8e75f8b9]31
[1515ed8a]32 <para>The <application>libxml2</application> package contains
33 XML libraries. These are useful for parsing XML files.</para>
[8e75f8b9]34
[9a788838]35 &lfs67_checked;
[0d5a3a9]36 <para>&lfssvn_checked;20101029&lfssvn_checked2;</para>
[7f4cdbc0]37
[1515ed8a]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &libxml2-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &libxml2-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &libxml2-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &libxml2-time;</para>
57 </listitem>
58 </itemizedlist>
[8e75f8b9]59
[9a788838]60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[5da63eb]61 <itemizedlist spacing='compact'>
62 <listitem>
63 <para>Optional Testsuite: <ulink
[9a788838]64 url="http://www.w3.org/XML/Test/xmlts20080827.tar.gz"/> - This
65 enables <command>make check</command> to do complete testing.
66 <!-- /* I can't find any documented reason not to use latest instead
67 of 20080205 */ Note
[a270244]68 that this is <emphasis>not</emphasis> the latest version of the
[9a788838]69 testsuite, but it is the one specified by the developers.--></para>
[5da63eb]70 </listitem>
[9a788838]71 </itemizedlist>
[5da63eb]72
[437700ae]73 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
[8e75f8b9]74
[03b3210]75 <bridgehead renderas="sect4">Optional</bridgehead>
[a270244]76 <para role="optional"><xref linkend="python"/> (to build and install a
77 <application>Python</application> library module, additionally it is
78 required to run the full suite of tests)</para>
[0af6ce1]79
[1aadfdf]80 <note>
81 <para>Some packages which utilize
82 <application>libxml2</application> (such as
83 <application>GNOME Doc Utils</application>) need the
84 <application>Python</application> module installed to function
[0af6ce1]85 properly and some packages (such as GNOME Panel) will not build
86 properly if the <application>Python</application> module is not
87 available.</para>
[1aadfdf]88 </note>
89
[1039de3]90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/libxml2"/></para>
92
[1515ed8a]93 </sect2>
[8e75f8b9]94
[1515ed8a]95 <sect2 role="installation">
[437700ae]96 <title>Installation of libxml2</title>
[1515ed8a]97
[9a788838]98 <para>If you downloaded the testsuite, issue the following command:</para>
[a270244]99
[9a788838]100<screen><userinput>tar xf ../xmlts20080827.tar.gz</userinput></screen>
[5da63eb]101
[74390482]102 <para>Install <application>libxml2</application> by running the following
[1515ed8a]103 commands:</para>
104
[80b21b2]105<screen><userinput>./configure --prefix=/usr &amp;&amp;
[1515ed8a]106make</userinput></screen>
107
[9a788838]108 <para>To test the results, issue: <command>make check</command>. If you have
109 installed <application>Python</application> this will conclude by reporting
110 a failure in the regression tests. The extended testsuite runs near the end
111 of the tests, it will report a count of errors, and then report how many are
112 expected.</para>
[8e75f8b9]113
[1515ed8a]114 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8e75f8b9]115
[1515ed8a]116<screen role="root"><userinput>make install</userinput></screen>
[8e75f8b9]117
[1515ed8a]118 </sect2>
[8e75f8b9]119
[1515ed8a]120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
[f33cb079]123 <para><parameter>--with-history</parameter>: If this option is used, it
[a270244]124 enables <application>Readline</application> support when running
[00166c8a]125 <command>xmlcatalog</command> or <command>xmllint</command> in shell
126 mode.</para>
[f33cb079]127
128 <caution>
[6473e74]129 <para>When using history support, <command>make check</command> will
130 hang forever if either <filename>/etc/inputrc</filename> or
131 <filename>~/.inputrc</filename> has the option
[00166c8a]132 <option>show-all-if-ambiguous</option> or
133 <option>show-all-if-available</option> turned on.</para>
[f33cb079]134 </caution>
[8e75f8b9]135
[5da63eb]136 <para><parameter>--enable-shared --disable-static</parameter>: This pair
137 of switches prevents the static libraries in this package from being
138 built and installed.</para>
139
[1515ed8a]140 </sect2>
[8e75f8b9]141
[1515ed8a]142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directories</segtitle>
[8e75f8b9]149
[1515ed8a]150 <seglistitem>
151 <seg>xml2-config, xmlcatalog, and xmllint</seg>
[1039de3]152 <seg>libxml2.{so,a} and optionally, the libxml2mod.{so,a}
[1515ed8a]153 <application>Python</application> module</seg>
[437700ae]154 <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
155 /usr/share/doc/libxml2-python-&libxml2-version; and
156 /usr/share/gtk-doc/html/libxml2</seg>
[1515ed8a]157 </seglistitem>
158 </segmentedlist>
[8e75f8b9]159
[1515ed8a]160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
[8e75f8b9]164
[1515ed8a]165 <varlistentry id="xml2-config">
166 <term><command>xml2-config</command></term>
167 <listitem>
[74390482]168 <para>determines the compile and linker flags that should be used to
169 compile and link programs that use
[1515ed8a]170 <filename class='libraryfile'>libxml2</filename>.</para>
171 <indexterm zone="libxml2 xml2-config">
172 <primary sortas="b-xml2-config">xml2-config</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
[8e75f8b9]176
[1515ed8a]177 <varlistentry id="xmlcatalog">
178 <term><command>xmlcatalog</command></term>
179 <listitem>
[74390482]180 <para>is used to monitor and manipulate XML
[1515ed8a]181 and SGML catalogs.</para>
182 <indexterm zone="libxml2 xmlcatalog">
183 <primary sortas="b-xmlcatalog">xmlcatalog</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
[8e75f8b9]187
[1515ed8a]188 <varlistentry id="xmllint">
189 <term><command>xmllint</command></term>
190 <listitem>
[74390482]191 <para>parses XML files and outputs reports (based
[1515ed8a]192 upon options) to detect errors in XML coding.</para>
193 <indexterm zone="libxml2 xmllint">
194 <primary sortas="b-xmllint">xmllint</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
[8e75f8b9]198
[1515ed8a]199 <varlistentry id="libxml2-lib">
[1039de3]200 <term><filename class='libraryfile'>libxml2.{so,a}</filename></term>
[1515ed8a]201 <listitem>
[74390482]202 <para> libraries provide the functions for programs to parse files
[1515ed8a]203 that use the XML format.</para>
204 <indexterm zone="libxml2 libxml2-lib">
[1039de3]205 <primary sortas="c-libxml2">libxml2.{so,a}</primary>
[1515ed8a]206 </indexterm>
207 </listitem>
208 </varlistentry>
[8e75f8b9]209
[1515ed8a]210 </variablelist>
211
212 </sect2>
[f45b1953]213
214</sect1>
Note: See TracBrowser for help on using the repository browser.