source: general/genlib/libxml2.xml@ 5da63eb

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 5da63eb was 5da63eb, checked in by Ken Moffat <ken@…>, 15 years ago

update libxml2

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

  • Property mode set to 100644
File size: 7.8 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 "&gnome-download-http;/libxml2/2.6/libxml2-&libxml2-version;.tar.gz"> -->
8 <!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
9 <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
10 <!ENTITY libxml2-md5sum " md5 dc43ff7ae6aded45f578c87b7b0c8766">
11 <!ENTITY libxml2-size "4.6 MB">
12 <!ENTITY libxml2-buildsize "89 MB (additional 23 MB to run the full test suite)">
13 <!ENTITY libxml2-time "1.4 SBU (additional 0.4 SBU to run the full test suite)">
14]>
15
16<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
17 <?dbhtml filename="libxml2.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libxml2-&libxml2-version;</title>
25
26 <indexterm zone="libxml2">
27 <primary sortas="a-Libxml2">Libxml2</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libxml2</title>
32
33 <para>The <application>libxml2</application> package contains
34 XML libraries. These are useful for parsing XML files.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &libxml2-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &libxml2-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &libxml2-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &libxml2-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
59 <itemizedlist spacing='compact'>
60 <listitem>
61 <para>Optional Testsuite: <ulink
62 url="http://www.w3.org/XML/Test/xmlts20080205.tar"/> - this
63 enables <command>make check</command> to do fuller testing. Note that
64 the package will point you to this if you try to run the command
65 without providing it, but the <filename>.tar.gz</filename> version is
66 not downloadable, Also note this is <emphasis>not</emphasis> the
67 latest version of the testsuite.</para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Optional</bridgehead>
74 <para role="optional"><xref linkend="libxslt"/> (used for the test suite
75 if found, but not required) and <xref linkend="python"/> (will install a
76 <application>Python</application> library module if found)</para>
77
78 <bridgehead renderas="sect4">Optional (Required to Run the Full Suite of
79 Tests)</bridgehead>
80 <para role="optional"><xref linkend="python"/> and
81 <xref linkend="wget"/></para>
82
83 <note>
84 <para>Some packages which utilize
85 <application>libxml2</application> (such as
86 <application>GNOME Doc Utils</application>) need the
87 <application>Python</application> module installed to function
88 properly and some packages (such as GNOME Panel) will not build
89 properly if the <application>Python</application> module is not
90 available.</para>
91 </note>
92
93 <para condition="html" role="usernotes">User Notes:
94 <ulink url="&blfs-wiki;/libxml2"/></para>
95
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libxml2</title>
100
101 <para>If you downloaded the testsuite, untar it in libxml2-&libxml2-version;.</para>
102
103 <para>Install <application>libxml2</application> by running the following
104 commands:</para>
105
106<screen><userinput>./configure --prefix=/usr &amp;&amp;
107make</userinput></screen>
108
109 <para>To test the results, issue: <command>make check</command>.</para>
110
111 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <!-- <para><command>sed -i '...' xstc/Makefile.in</command>: This command is
121 used to add a new parameter required by recent versions of
122 <command>tar</command>. Without this command, the test suite will not
123 complete properly.</para> -->
124
125 <para><parameter>--with-history</parameter>: If this option is used, it
126 enables <application>readline</application> support when running
127 <command>xmlcatalog</command> or <command>xmllint</command> in shell
128 mode.</para>
129
130 <caution>
131 <para>When using history support, <command>make check</command> will
132 hang forever if either <filename>/etc/inputrc</filename> or
133 <filename>~/.inputrc</filename> has the option
134 <option>show-all-if-ambiguous</option> or
135 <option>show-all-if-available</option> turned on.</para>
136 </caution>
137
138 <para><parameter>--enable-shared --disable-static</parameter>: This pair
139 of switches prevents the static libraries in this package from being
140 built and installed.</para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>xml2-config, xmlcatalog, and xmllint</seg>
154 <seg>libxml2.{so,a} and optionally, the libxml2mod.{so,a}
155 <application>Python</application> module</seg>
156 <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
157 /usr/share/doc/libxml2-python-&libxml2-version; and
158 /usr/share/gtk-doc/html/libxml2</seg>
159 </seglistitem>
160 </segmentedlist>
161
162 <variablelist>
163 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
164 <?dbfo list-presentation="list"?>
165 <?dbhtml list-presentation="table"?>
166
167 <varlistentry id="xml2-config">
168 <term><command>xml2-config</command></term>
169 <listitem>
170 <para>determines the compile and linker flags that should be used to
171 compile and link programs that use
172 <filename class='libraryfile'>libxml2</filename>.</para>
173 <indexterm zone="libxml2 xml2-config">
174 <primary sortas="b-xml2-config">xml2-config</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="xmlcatalog">
180 <term><command>xmlcatalog</command></term>
181 <listitem>
182 <para>is used to monitor and manipulate XML
183 and SGML catalogs.</para>
184 <indexterm zone="libxml2 xmlcatalog">
185 <primary sortas="b-xmlcatalog">xmlcatalog</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="xmllint">
191 <term><command>xmllint</command></term>
192 <listitem>
193 <para>parses XML files and outputs reports (based
194 upon options) to detect errors in XML coding.</para>
195 <indexterm zone="libxml2 xmllint">
196 <primary sortas="b-xmllint">xmllint</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="libxml2-lib">
202 <term><filename class='libraryfile'>libxml2.{so,a}</filename></term>
203 <listitem>
204 <para> libraries provide the functions for programs to parse files
205 that use the XML format.</para>
206 <indexterm zone="libxml2 libxml2-lib">
207 <primary sortas="c-libxml2">libxml2.{so,a}</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 </variablelist>
213
214 </sect2>
215
216</sect1>
Note: See TracBrowser for help on using the repository browser.