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 "http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-&libxml2-version;.tar.gz">
|
---|
8 | <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
|
---|
9 | <!ENTITY libxml2-size "4.1 MB">
|
---|
10 | <!ENTITY libxml2-md5sum "61587d43389a414fc2f5223b428e325e">
|
---|
11 | <!ENTITY libxml2-buildsize "160 MB">
|
---|
12 | <!ENTITY libxml2-time "1.05 SBU (additional 0.65 SBU to run the testsuite)">
|
---|
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 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
|
---|
39 | </listitem>
|
---|
40 | <listitem>
|
---|
41 | <para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download MD5 sum: &libxml2-md5sum;</para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download size: &libxml2-size;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Estimated disk space required: &libxml2-buildsize;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated build time: &libxml2-time;</para>
|
---|
54 | </listitem>
|
---|
55 | </itemizedlist>
|
---|
56 |
|
---|
57 | <bridgehead renderas="sect3">Libxml2 Dependencies</bridgehead>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
60 | <para><xref linkend="python"/></para>
|
---|
61 |
|
---|
62 | </sect2>
|
---|
63 |
|
---|
64 | <sect2 role="installation">
|
---|
65 | <title>Installation of Libxml2</title>
|
---|
66 |
|
---|
67 | <para>Install <application>libxml2</application> by running the following
|
---|
68 | commands:</para>
|
---|
69 |
|
---|
70 | <screen><userinput>./configure --prefix=/usr --with-history &&
|
---|
71 | make</userinput></screen>
|
---|
72 |
|
---|
73 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
74 |
|
---|
75 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
76 |
|
---|
77 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="commands">
|
---|
82 | <title>Command Explanations</title>
|
---|
83 |
|
---|
84 | <para><parameter>--with-history</parameter>: Enables
|
---|
85 | <application>readline</application> support.</para>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="content">
|
---|
90 | <title>Contents</title>
|
---|
91 |
|
---|
92 | <segmentedlist>
|
---|
93 | <segtitle>Installed Programs</segtitle>
|
---|
94 | <segtitle>Installed Libraries</segtitle>
|
---|
95 | <segtitle>Installed Directories</segtitle>
|
---|
96 |
|
---|
97 | <seglistitem>
|
---|
98 | <seg>xml2-config, xmlcatalog, and xmllint</seg>
|
---|
99 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
100 | <application>Python</application> module</seg>
|
---|
101 | <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;, and
|
---|
102 | /usr/share/doc/libxml2-python-&libxml2-version;</seg>
|
---|
103 | </seglistitem>
|
---|
104 | </segmentedlist>
|
---|
105 |
|
---|
106 | <variablelist>
|
---|
107 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
108 | <?dbfo list-presentation="list"?>
|
---|
109 | <?dbhtml list-presentation="table"?>
|
---|
110 |
|
---|
111 | <varlistentry id="xml2-config">
|
---|
112 | <term><command>xml2-config</command></term>
|
---|
113 | <listitem>
|
---|
114 | <para>determines the compile and linker flags that should be used to
|
---|
115 | compile and link programs that use
|
---|
116 | <filename class='libraryfile'>libxml2</filename>.</para>
|
---|
117 | <indexterm zone="libxml2 xml2-config">
|
---|
118 | <primary sortas="b-xml2-config">xml2-config</primary>
|
---|
119 | </indexterm>
|
---|
120 | </listitem>
|
---|
121 | </varlistentry>
|
---|
122 |
|
---|
123 | <varlistentry id="xmlcatalog">
|
---|
124 | <term><command>xmlcatalog</command></term>
|
---|
125 | <listitem>
|
---|
126 | <para>is used to monitor and manipulate XML
|
---|
127 | and SGML catalogs.</para>
|
---|
128 | <indexterm zone="libxml2 xmlcatalog">
|
---|
129 | <primary sortas="b-xmlcatalog">xmlcatalog</primary>
|
---|
130 | </indexterm>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry id="xmllint">
|
---|
135 | <term><command>xmllint</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>parses XML files and outputs reports (based
|
---|
138 | upon options) to detect errors in XML coding.</para>
|
---|
139 | <indexterm zone="libxml2 xmllint">
|
---|
140 | <primary sortas="b-xmllint">xmllint</primary>
|
---|
141 | </indexterm>
|
---|
142 | </listitem>
|
---|
143 | </varlistentry>
|
---|
144 |
|
---|
145 | <varlistentry id="libxml2-lib">
|
---|
146 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
147 | <listitem>
|
---|
148 | <para> libraries provide the functions for programs to parse files
|
---|
149 | that use the XML format.</para>
|
---|
150 | <indexterm zone="libxml2 libxml2-lib">
|
---|
151 | <primary sortas="c-libxml2">libxml2.[so,a]</primary>
|
---|
152 | </indexterm>
|
---|
153 | </listitem>
|
---|
154 | </varlistentry>
|
---|
155 |
|
---|
156 | </variablelist>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | </sect1>
|
---|