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