source: general/genlib/libxml2.xml@ 8aeb474

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 8aeb474 was 8180b89, checked in by Krejzi <krejzi@…>, 12 years ago

libxml2 2.9.0 and libxslt 1.1.27.

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

  • Property mode set to 100644
File size: 6.9 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 "5b9bebf4f5d2200ae2c4efe8fa6103f7">
10 <!ENTITY libxml2-size "5.0 MB">
11 <!ENTITY libxml2-buildsize "100 MB">
12 <!ENTITY libxml2-time "0.7 SBU">
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>
33 The <application>libxml2</application> package contains libraries
34 and utilities used for parsing XML files.
35 </para>
36
37 &lfs72_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libxml2-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libxml2-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libxml2-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libxml2-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libxml2-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libxml2-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Optional Testsuite:
78 <ulink url="http://www.w3.org/XML/Test/xmlts20080827.tar.gz"/> - This
79 enables <command>make check</command> to do complete testing.
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Recommended</bridgehead>
87 <para role="recommended">
88 <xref linkend="python2"/> (to build and install a
89 <application>Python</application> library module, additionally it is
90 required to run the full suite of tests)
91 </para>
92
93 <note>
94 <para>
95 Some packages which utilize <application>libxml2</application> (such as
96 <application>GNOME Doc Utils</application>) need the
97 <application>Python</application> module installed to function properly
98 and some packages (such as MesaLib) will not build properly if the
99 <application>Python</application> module is not available.
100 </para>
101 </note>
102
103 <para condition="html" role="usernotes">
104 User Notes: <ulink url="&blfs-wiki;/libxml2"/>
105 </para>
106 </sect2>
107
108 <sect2 role="installation">
109 <title>Installation of libxml2</title>
110
111 <para>If you downloaded the testsuite, issue the following command:</para>
112
113<screen><userinput>tar xf ../xmlts20080827.tar.gz</userinput></screen>
114
115 <para>
116 Install <application>libxml2</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
121make</userinput></screen>
122
123 <para>
124 To test the results, issue: <command>make check</command>.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/static-libraries.xml"/>
139
140 <para>
141 <option>--with-history</option>: If this switch is used, it enables
142 <application>Readline</application> support when running
143 <command>xmlcatalog</command> or <command>xmllint</command> in shell mode.
144 </para>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 xml2-config, xmlcatalog and xmllint
159 </seg>
160 <seg>
161 libxml2.so and optionally, the libxml2mod.so
162 <application>Python</application> module
163 </seg>
164 <seg>
165 /usr/include/libxml2,
166 /usr/share/doc/libxml2-&libxml2-version;,
167 /usr/share/doc/libxml2-python-&libxml2-version; and
168 /usr/share/gtk-doc/html/libxml2
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="xml2-config">
179 <term><command>xml2-config</command></term>
180 <listitem>
181 <para>
182 determines the compile and linker flags that should be used to
183 compile and link programs that use
184 <filename class='libraryfile'>libxml2</filename>.
185 </para>
186 <indexterm zone="libxml2 xml2-config">
187 <primary sortas="b-xml2-config">xml2-config</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="xmlcatalog">
193 <term><command>xmlcatalog</command></term>
194 <listitem>
195 <para>
196 is used to monitor and manipulate XML and SGML catalogs.
197 </para>
198 <indexterm zone="libxml2 xmlcatalog">
199 <primary sortas="b-xmlcatalog">xmlcatalog</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="xmllint">
205 <term><command>xmllint</command></term>
206 <listitem>
207 <para>
208 parses XML files and outputs reports (based upon options) to detect
209 errors in XML coding.
210 </para>
211 <indexterm zone="libxml2 xmllint">
212 <primary sortas="b-xmllint">xmllint</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="libxml2-lib">
218 <term><filename class="libraryfile">libxml2.so</filename></term>
219 <listitem>
220 <para>
221 provides functions for programs to parse files that use the XML
222 format.
223 </para>
224 <indexterm zone="libxml2 libxml2-lib">
225 <primary sortas="c-libxml2">libxml2.so</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 </variablelist>
231
232 </sect2>
233
234</sect1>
Note: See TracBrowser for help on using the repository browser.