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