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