source: general/genlib/libxml2.xml@ ac382861

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 ac382861 was ac382861, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated to libxml2-2.6.23

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

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