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 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="libxml2.html"?>
|
---|
21 | <title>libxml2-&libxml2-version;</title>
|
---|
22 | <indexterm zone="libxml2">
|
---|
23 | <primary sortas="a-Libxml2">Libxml2</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>libxml2</application></title>
|
---|
27 |
|
---|
28 | <para>The <application>libxml2</application> package contains
|
---|
29 | <acronym>XML</acronym> libraries. These are useful for parsing
|
---|
30 | <acronym>XML</acronym> files.</para>
|
---|
31 |
|
---|
32 | <sect3><title>Package information</title>
|
---|
33 | <itemizedlist spacing='compact'>
|
---|
34 | <listitem><para>Download (HTTP): <ulink
|
---|
35 | url="&libxml2-download-http;"/></para></listitem>
|
---|
36 | <listitem><para>Download (FTP): <ulink
|
---|
37 | url="&libxml2-download-ftp;"/></para></listitem>
|
---|
38 | <listitem><para>Download MD5 sum: &libxml2-md5sum;</para></listitem>
|
---|
39 | <listitem><para>Download size: &libxml2-size;</para></listitem>
|
---|
40 | <listitem><para>Estimated disk space
|
---|
41 | required: &libxml2-buildsize;</para></listitem>
|
---|
42 | <listitem><para>Estimated build time:
|
---|
43 | &libxml2-time;</para></listitem></itemizedlist>
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | <sect3><title><application>libxml2</application> dependencies</title>
|
---|
47 | <sect4><title>Optional</title>
|
---|
48 | <para><xref linkend="python"/></para>
|
---|
49 | </sect4>
|
---|
50 | </sect3>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 | <sect2>
|
---|
55 | <title>Installation of <application>libxml2</application></title>
|
---|
56 |
|
---|
57 | <para>Install <application>libxml2</application> by running the following
|
---|
58 | commands:</para>
|
---|
59 |
|
---|
60 | <screen><userinput><command>./configure --prefix=/usr --with-history &&
|
---|
61 | make</command></userinput></screen>
|
---|
62 |
|
---|
63 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
64 |
|
---|
65 | <para>Now, as the root user:</para>
|
---|
66 |
|
---|
67 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2>
|
---|
72 | <title>Command explanations</title>
|
---|
73 |
|
---|
74 | <para><option>--with-history</option>: Enables
|
---|
75 | <application>readline</application> support.</para>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2>
|
---|
80 | <title>Contents</title>
|
---|
81 |
|
---|
82 | <segmentedlist>
|
---|
83 | <segtitle>Installed Programs</segtitle>
|
---|
84 | <segtitle>Installed Libraries</segtitle>
|
---|
85 | <segtitle>Installed Directories</segtitle>
|
---|
86 | <seglistitem>
|
---|
87 | <seg>xml2-config, xmlcatalog and xmllint</seg>
|
---|
88 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
89 | <application>Python</application> module</seg>
|
---|
90 | <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version; and
|
---|
91 | /usr/share/doc/libxml2-python-&libxml2-version;</seg>
|
---|
92 | </seglistitem>
|
---|
93 | </segmentedlist>
|
---|
94 |
|
---|
95 | <variablelist>
|
---|
96 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
97 | <?dbfo list-presentation="list"?>
|
---|
98 |
|
---|
99 | <varlistentry id="xml2-config">
|
---|
100 | <term><command>xml2-config</command></term>
|
---|
101 | <listitem><para>determines the compile and linker flags that should be used to
|
---|
102 | compile and link programs that use
|
---|
103 | <filename class='libraryfile'>libxml2</filename>.</para>
|
---|
104 | <indexterm zone="libxml2 xml2-config">
|
---|
105 | <primary sortas="b-xml2-config">xml2-config</primary></indexterm>
|
---|
106 | </listitem>
|
---|
107 | </varlistentry>
|
---|
108 |
|
---|
109 | <varlistentry id="xmlcatalog">
|
---|
110 | <term><command>xmlcatalog</command></term>
|
---|
111 | <listitem><para>is used to monitor and manipulate <acronym>XML</acronym>
|
---|
112 | and <acronym>SGML</acronym> catalogs.</para>
|
---|
113 | <indexterm zone="libxml2 xmlcatalog">
|
---|
114 | <primary sortas="b-xmlcatalog">xmlcatalog</primary></indexterm>
|
---|
115 | </listitem>
|
---|
116 | </varlistentry>
|
---|
117 |
|
---|
118 | <varlistentry id="xmllint">
|
---|
119 | <term><command>xmllint</command></term>
|
---|
120 | <listitem><para>parses <acronym>XML</acronym> files and outputs reports (based
|
---|
121 | upon options) to detect errors in <acronym>XML</acronym> coding.</para>
|
---|
122 | <indexterm zone="libxml2 xmllint">
|
---|
123 | <primary sortas="b-xmllint">xmllint</primary></indexterm>
|
---|
124 | </listitem>
|
---|
125 | </varlistentry>
|
---|
126 |
|
---|
127 | <varlistentry id="libxml2-lib">
|
---|
128 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
129 | <listitem><para> libraries provide the functions for programs to parse files
|
---|
130 | that use the <acronym>XML</acronym> format.</para>
|
---|
131 | <indexterm zone="libxml2 libxml2-lib">
|
---|
132 | <primary sortas="c-libxml2">libxml2.[so,a]</primary></indexterm>
|
---|
133 | </listitem>
|
---|
134 | </varlistentry>
|
---|
135 | </variablelist>
|
---|
136 |
|
---|
137 | </sect2>
|
---|
138 |
|
---|
139 | </sect1>
|
---|