[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>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[437700ae] | 23 | <title>libxml2-&libxml2-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[1515ed8a] | 25 | <indexterm zone="libxml2">
|
---|
| 26 | <primary sortas="a-Libxml2">Libxml2</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[437700ae] | 30 | <title>Introduction to libxml2</title>
|
---|
[8e75f8b9] | 31 |
|
---|
[1515ed8a] | 32 | <para>The <application>libxml2</application> package contains
|
---|
| 33 | XML libraries. These are useful for parsing XML files.</para>
|
---|
[8e75f8b9] | 34 |
|
---|
[1515ed8a] | 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>
|
---|
[8e75f8b9] | 56 |
|
---|
[437700ae] | 57 | <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
|
---|
[8e75f8b9] | 58 |
|
---|
[1515ed8a] | 59 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[3c985d94] | 60 | <para><xref linkend="python"/> (will create a
|
---|
[6cb7756] | 61 | <application>Python</application> library module if found)</para>
|
---|
[3c985d94] | 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Optional (Required to Run the Full Suite of
|
---|
| 64 | Tests)</bridgehead>
|
---|
| 65 | <para><xref linkend="python"/> and <xref linkend="wget"/></para>
|
---|
[8e75f8b9] | 66 |
|
---|
[1515ed8a] | 67 | </sect2>
|
---|
[8e75f8b9] | 68 |
|
---|
[1515ed8a] | 69 | <sect2 role="installation">
|
---|
[437700ae] | 70 | <title>Installation of libxml2</title>
|
---|
[1515ed8a] | 71 |
|
---|
[74390482] | 72 | <para>Install <application>libxml2</application> by running the following
|
---|
[1515ed8a] | 73 | commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput>./configure --prefix=/usr --with-history &&
|
---|
| 76 | make</userinput></screen>
|
---|
| 77 |
|
---|
| 78 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[8e75f8b9] | 79 |
|
---|
[1515ed8a] | 80 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 81 |
|
---|
[1515ed8a] | 82 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 83 |
|
---|
[1515ed8a] | 84 | </sect2>
|
---|
[8e75f8b9] | 85 |
|
---|
[1515ed8a] | 86 | <sect2 role="commands">
|
---|
| 87 | <title>Command Explanations</title>
|
---|
| 88 |
|
---|
[74390482] | 89 | <para><parameter>--with-history</parameter>: Enables
|
---|
[1515ed8a] | 90 | <application>readline</application> support.</para>
|
---|
[8e75f8b9] | 91 |
|
---|
[1515ed8a] | 92 | </sect2>
|
---|
[8e75f8b9] | 93 |
|
---|
[1515ed8a] | 94 | <sect2 role="content">
|
---|
| 95 | <title>Contents</title>
|
---|
| 96 |
|
---|
| 97 | <segmentedlist>
|
---|
| 98 | <segtitle>Installed Programs</segtitle>
|
---|
| 99 | <segtitle>Installed Libraries</segtitle>
|
---|
| 100 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 101 |
|
---|
[1515ed8a] | 102 | <seglistitem>
|
---|
| 103 | <seg>xml2-config, xmlcatalog, and xmllint</seg>
|
---|
[74390482] | 104 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
[1515ed8a] | 105 | <application>Python</application> module</seg>
|
---|
[437700ae] | 106 | <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
|
---|
| 107 | /usr/share/doc/libxml2-python-&libxml2-version; and
|
---|
| 108 | /usr/share/gtk-doc/html/libxml2</seg>
|
---|
[1515ed8a] | 109 | </seglistitem>
|
---|
| 110 | </segmentedlist>
|
---|
[8e75f8b9] | 111 |
|
---|
[1515ed8a] | 112 | <variablelist>
|
---|
| 113 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 114 | <?dbfo list-presentation="list"?>
|
---|
| 115 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 116 |
|
---|
[1515ed8a] | 117 | <varlistentry id="xml2-config">
|
---|
| 118 | <term><command>xml2-config</command></term>
|
---|
| 119 | <listitem>
|
---|
[74390482] | 120 | <para>determines the compile and linker flags that should be used to
|
---|
| 121 | compile and link programs that use
|
---|
[1515ed8a] | 122 | <filename class='libraryfile'>libxml2</filename>.</para>
|
---|
| 123 | <indexterm zone="libxml2 xml2-config">
|
---|
| 124 | <primary sortas="b-xml2-config">xml2-config</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
[8e75f8b9] | 128 |
|
---|
[1515ed8a] | 129 | <varlistentry id="xmlcatalog">
|
---|
| 130 | <term><command>xmlcatalog</command></term>
|
---|
| 131 | <listitem>
|
---|
[74390482] | 132 | <para>is used to monitor and manipulate XML
|
---|
[1515ed8a] | 133 | and SGML catalogs.</para>
|
---|
| 134 | <indexterm zone="libxml2 xmlcatalog">
|
---|
| 135 | <primary sortas="b-xmlcatalog">xmlcatalog</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
[8e75f8b9] | 139 |
|
---|
[1515ed8a] | 140 | <varlistentry id="xmllint">
|
---|
| 141 | <term><command>xmllint</command></term>
|
---|
| 142 | <listitem>
|
---|
[74390482] | 143 | <para>parses XML files and outputs reports (based
|
---|
[1515ed8a] | 144 | upon options) to detect errors in XML coding.</para>
|
---|
| 145 | <indexterm zone="libxml2 xmllint">
|
---|
| 146 | <primary sortas="b-xmllint">xmllint</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
[8e75f8b9] | 150 |
|
---|
[1515ed8a] | 151 | <varlistentry id="libxml2-lib">
|
---|
| 152 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
| 153 | <listitem>
|
---|
[74390482] | 154 | <para> libraries provide the functions for programs to parse files
|
---|
[1515ed8a] | 155 | that use the XML format.</para>
|
---|
| 156 | <indexterm zone="libxml2 libxml2-lib">
|
---|
| 157 | <primary sortas="c-libxml2">libxml2.[so,a]</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
[8e75f8b9] | 161 |
|
---|
[1515ed8a] | 162 | </variablelist>
|
---|
| 163 |
|
---|
| 164 | </sect2>
|
---|
[f45b1953] | 165 |
|
---|
| 166 | </sect1>
|
---|