source: general/genlib/libxml2.xml@ 4716d52

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
Last change on this file since 4716d52 was 4716d52, checked in by Andrew Benton <andy@…>, 12 years ago

Removed the python linkend. The python links now point at python2

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

  • Property mode set to 100644
File size: 7.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
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">
10 <!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]>
14
15<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
16 <?dbhtml filename="libxml2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libxml2-&libxml2-version;</title>
24
25 <indexterm zone="libxml2">
26 <primary sortas="a-Libxml2">Libxml2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libxml2</title>
31
32 <para>The <application>libxml2</application> package contains
33 XML libraries. These are useful for parsing XML files.</para>
34
35 &lfs70_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &libxml2-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &libxml2-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &libxml2-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &libxml2-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <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>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
69
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>
74
75 <note>
76 <para>Some packages which utilize
77 <application>libxml2</application> (such as
78 <application>GNOME Doc Utils</application>) need the
79 <application>Python</application> module installed to function
80 properly and some packages (such as GNOME Panel) will not build
81 properly if the <application>Python</application> module is not
82 available.</para>
83 </note>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/libxml2"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of libxml2</title>
92
93 <para>If you downloaded the testsuite, issue the following command:</para>
94
95<screen><userinput>tar xf ../xmlts20080827.tar.gz</userinput></screen>
96
97 <para>Install <application>libxml2</application> by running the following
98 commands:</para>
99
100<screen><userinput>./configure --prefix=/usr &amp;&amp;
101make</userinput></screen>
102
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>
110
111<screen role="root"><userinput>make install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
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
135 </sect2>
136
137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Libraries</segtitle>
143 <segtitle>Installed Directories</segtitle>
144
145 <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>
152 </seglistitem>
153 </segmentedlist>
154
155 <variablelist>
156 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
157 <?dbfo list-presentation="list"?>
158 <?dbhtml list-presentation="table"?>
159
160 <varlistentry id="xml2-config">
161 <term><command>xml2-config</command></term>
162 <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>
166 <indexterm zone="libxml2 xml2-config">
167 <primary sortas="b-xml2-config">xml2-config</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="xmlcatalog">
173 <term><command>xmlcatalog</command></term>
174 <listitem>
175 <para>is used to monitor and manipulate XML
176 and SGML catalogs.</para>
177 <indexterm zone="libxml2 xmlcatalog">
178 <primary sortas="b-xmlcatalog">xmlcatalog</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="xmllint">
184 <term><command>xmllint</command></term>
185 <listitem>
186 <para>parses XML files and outputs reports (based
187 upon options) to detect errors in XML coding.</para>
188 <indexterm zone="libxml2 xmllint">
189 <primary sortas="b-xmllint">xmllint</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <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>
199 <indexterm zone="libxml2 libxml2-lib">
200 <primary sortas="c-libxml2">libxml2.{so,a}</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 </variablelist>
206
207 </sect2>
208
209</sect1>
Note: See TracBrowser for help on using the repository browser.