[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5404a65] | 7 | <!ENTITY libxml2-download-http "&gnome-download-http;/libxml2/2.6/libxml2-&libxml2-version;.tar.gz">
|
---|
[ec20ccf] | 8 | <!-- Broken link
|
---|
| 9 | <!ENTITY libxml2-download-http "http://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
|
---|
| 10 | -->
|
---|
[dd58fed6] | 11 | <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
|
---|
[437700ae] | 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)">
|
---|
[52d29f7] | 16 | ]>
|
---|
| 17 |
|
---|
[f45b1953] | 18 | <sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
|
---|
[1515ed8a] | 19 | <?dbhtml filename="libxml2.html"?>
|
---|
[8e75f8b9] | 20 |
|
---|
[1515ed8a] | 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
| 23 | <date>$Date$</date>
|
---|
[4f26c54] | 24 | <keywordset>
|
---|
| 25 | <keyword role="package">libxml2-&libxml2-version;.tar</keyword>
|
---|
[22ac237] | 26 | <keyword role="ftpdir">libxml2</keyword>
|
---|
[4f26c54] | 27 | </keywordset>
|
---|
[1515ed8a] | 28 | </sect1info>
|
---|
[8e75f8b9] | 29 |
|
---|
[437700ae] | 30 | <title>libxml2-&libxml2-version;</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[1515ed8a] | 32 | <indexterm zone="libxml2">
|
---|
| 33 | <primary sortas="a-Libxml2">Libxml2</primary>
|
---|
| 34 | </indexterm>
|
---|
| 35 |
|
---|
| 36 | <sect2 role="package">
|
---|
[437700ae] | 37 | <title>Introduction to libxml2</title>
|
---|
[8e75f8b9] | 38 |
|
---|
[1515ed8a] | 39 | <para>The <application>libxml2</application> package contains
|
---|
| 40 | XML libraries. These are useful for parsing XML files.</para>
|
---|
[8e75f8b9] | 41 |
|
---|
[1515ed8a] | 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>
|
---|
[8e75f8b9] | 63 |
|
---|
[437700ae] | 64 | <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
|
---|
[8e75f8b9] | 65 |
|
---|
[3c985d94] | 66 | <bridgehead renderas="sect4">Optional (Required to Run the Full Suite of
|
---|
| 67 | Tests)</bridgehead>
|
---|
[4f26c54] | 68 | <para role="optional"><xref linkend="python"/> and
|
---|
| 69 | <xref linkend="wget"/></para>
|
---|
[8e75f8b9] | 70 |
|
---|
[03b3210] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4f26c54] | 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
|
---|
[03b3210] | 74 | <application>Python</application> library module if found)</para>
|
---|
| 75 |
|
---|
[1aadfdf] | 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 |
|
---|
[1515ed8a] | 84 | </sect2>
|
---|
[8e75f8b9] | 85 |
|
---|
[1515ed8a] | 86 | <sect2 role="installation">
|
---|
[437700ae] | 87 | <title>Installation of libxml2</title>
|
---|
[1515ed8a] | 88 |
|
---|
[74390482] | 89 | <para>Install <application>libxml2</application> by running the following
|
---|
[1515ed8a] | 90 | commands:</para>
|
---|
| 91 |
|
---|
[f33cb079] | 92 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[1515ed8a] | 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[8e75f8b9] | 96 |
|
---|
[1515ed8a] | 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 98 |
|
---|
[1515ed8a] | 99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 100 |
|
---|
[1515ed8a] | 101 | </sect2>
|
---|
[8e75f8b9] | 102 |
|
---|
[1515ed8a] | 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
[f33cb079] | 106 | <para><parameter>--with-history</parameter>: If this option is used, it
|
---|
[6473e74] | 107 | enables <application>readline</application> support when running
|
---|
[f33cb079] | 108 | xmlcatalog in shell mode.</para>
|
---|
| 109 |
|
---|
| 110 | <caution>
|
---|
[6473e74] | 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
|
---|
[f33cb079] | 114 | <option>show-all-if-ambiguous</option> turned on.</para>
|
---|
| 115 | </caution>
|
---|
[8e75f8b9] | 116 |
|
---|
[1515ed8a] | 117 | </sect2>
|
---|
[8e75f8b9] | 118 |
|
---|
[1515ed8a] | 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>
|
---|
[8e75f8b9] | 126 |
|
---|
[1515ed8a] | 127 | <seglistitem>
|
---|
| 128 | <seg>xml2-config, xmlcatalog, and xmllint</seg>
|
---|
[74390482] | 129 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
[1515ed8a] | 130 | <application>Python</application> module</seg>
|
---|
[437700ae] | 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>
|
---|
[1515ed8a] | 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
[8e75f8b9] | 136 |
|
---|
[1515ed8a] | 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 141 |
|
---|
[1515ed8a] | 142 | <varlistentry id="xml2-config">
|
---|
| 143 | <term><command>xml2-config</command></term>
|
---|
| 144 | <listitem>
|
---|
[74390482] | 145 | <para>determines the compile and linker flags that should be used to
|
---|
| 146 | compile and link programs that use
|
---|
[1515ed8a] | 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>
|
---|
[8e75f8b9] | 153 |
|
---|
[1515ed8a] | 154 | <varlistentry id="xmlcatalog">
|
---|
| 155 | <term><command>xmlcatalog</command></term>
|
---|
| 156 | <listitem>
|
---|
[74390482] | 157 | <para>is used to monitor and manipulate XML
|
---|
[1515ed8a] | 158 | and SGML catalogs.</para>
|
---|
| 159 | <indexterm zone="libxml2 xmlcatalog">
|
---|
| 160 | <primary sortas="b-xmlcatalog">xmlcatalog</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
[8e75f8b9] | 164 |
|
---|
[1515ed8a] | 165 | <varlistentry id="xmllint">
|
---|
| 166 | <term><command>xmllint</command></term>
|
---|
| 167 | <listitem>
|
---|
[74390482] | 168 | <para>parses XML files and outputs reports (based
|
---|
[1515ed8a] | 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>
|
---|
[8e75f8b9] | 175 |
|
---|
[1515ed8a] | 176 | <varlistentry id="libxml2-lib">
|
---|
| 177 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
| 178 | <listitem>
|
---|
[74390482] | 179 | <para> libraries provide the functions for programs to parse files
|
---|
[1515ed8a] | 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>
|
---|
[8e75f8b9] | 186 |
|
---|
[1515ed8a] | 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
[f45b1953] | 190 |
|
---|
| 191 | </sect1>
|
---|