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.4 MB">
|
---|
13 | <!ENTITY libxml2-md5sum "1db8d06b4f49a665a8f47dc6d94450e6">
|
---|
14 | <!ENTITY libxml2-buildsize "83.3 MB (additional 183 MB to run the test suite)">
|
---|
15 | <!ENTITY libxml2-time "1.3 SBU (additional 0.8 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 | </sect2>
|
---|
85 |
|
---|
86 | <sect2 role="installation">
|
---|
87 | <title>Installation of libxml2</title>
|
---|
88 |
|
---|
89 | <para>Install <application>libxml2</application> by running the following
|
---|
90 | commands:</para>
|
---|
91 |
|
---|
92 | <screen><userinput>./configure --prefix=/usr &&
|
---|
93 | make</userinput></screen>
|
---|
94 |
|
---|
95 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
96 |
|
---|
97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
98 |
|
---|
99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
100 |
|
---|
101 | </sect2>
|
---|
102 |
|
---|
103 | <sect2 role="commands">
|
---|
104 | <title>Command Explanations</title>
|
---|
105 |
|
---|
106 | <para><parameter>--with-history</parameter>: If this option is used, it
|
---|
107 | enables <application>readline</application> support when running
|
---|
108 | xmlcatalog in shell mode.</para>
|
---|
109 |
|
---|
110 | <caution>
|
---|
111 | <para>When using history support, <command>make check</command> will
|
---|
112 | hang forever if either <filename>/etc/inputrc</filename> or
|
---|
113 | <filename>~/.inputrc</filename> has the option
|
---|
114 | <option>show-all-if-ambiguous</option> turned on.</para>
|
---|
115 | </caution>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="content">
|
---|
120 | <title>Contents</title>
|
---|
121 |
|
---|
122 | <segmentedlist>
|
---|
123 | <segtitle>Installed Programs</segtitle>
|
---|
124 | <segtitle>Installed Libraries</segtitle>
|
---|
125 | <segtitle>Installed Directories</segtitle>
|
---|
126 |
|
---|
127 | <seglistitem>
|
---|
128 | <seg>xml2-config, xmlcatalog, and xmllint</seg>
|
---|
129 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
130 | <application>Python</application> module</seg>
|
---|
131 | <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
|
---|
132 | /usr/share/doc/libxml2-python-&libxml2-version; and
|
---|
133 | /usr/share/gtk-doc/html/libxml2</seg>
|
---|
134 | </seglistitem>
|
---|
135 | </segmentedlist>
|
---|
136 |
|
---|
137 | <variablelist>
|
---|
138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
139 | <?dbfo list-presentation="list"?>
|
---|
140 | <?dbhtml list-presentation="table"?>
|
---|
141 |
|
---|
142 | <varlistentry id="xml2-config">
|
---|
143 | <term><command>xml2-config</command></term>
|
---|
144 | <listitem>
|
---|
145 | <para>determines the compile and linker flags that should be used to
|
---|
146 | compile and link programs that use
|
---|
147 | <filename class='libraryfile'>libxml2</filename>.</para>
|
---|
148 | <indexterm zone="libxml2 xml2-config">
|
---|
149 | <primary sortas="b-xml2-config">xml2-config</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | <varlistentry id="xmlcatalog">
|
---|
155 | <term><command>xmlcatalog</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>is used to monitor and manipulate XML
|
---|
158 | and SGML catalogs.</para>
|
---|
159 | <indexterm zone="libxml2 xmlcatalog">
|
---|
160 | <primary sortas="b-xmlcatalog">xmlcatalog</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | <varlistentry id="xmllint">
|
---|
166 | <term><command>xmllint</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>parses XML files and outputs reports (based
|
---|
169 | upon options) to detect errors in XML coding.</para>
|
---|
170 | <indexterm zone="libxml2 xmllint">
|
---|
171 | <primary sortas="b-xmllint">xmllint</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="libxml2-lib">
|
---|
177 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
178 | <listitem>
|
---|
179 | <para> libraries provide the functions for programs to parse files
|
---|
180 | that use the XML format.</para>
|
---|
181 | <indexterm zone="libxml2 libxml2-lib">
|
---|
182 | <primary sortas="c-libxml2">libxml2.[so,a]</primary>
|
---|
183 | </indexterm>
|
---|
184 | </listitem>
|
---|
185 | </varlistentry>
|
---|
186 |
|
---|
187 | </variablelist>
|
---|
188 |
|
---|
189 | </sect2>
|
---|
190 |
|
---|
191 | </sect1>
|
---|