[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 |
|
---|
[8327e8b9] | 7 | <!ENTITY libxml2-download-http "http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-&libxml2-version;.tar.gz">
|
---|
[2744e401] | 8 | <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
|
---|
[8327e8b9] | 9 | <!ENTITY libxml2-size "4.1 MB">
|
---|
[c9a2447] | 10 | <!ENTITY libxml2-md5sum "61587d43389a414fc2f5223b428e325e">
|
---|
| 11 | <!ENTITY libxml2-buildsize "160 MB">
|
---|
| 12 | <!ENTITY libxml2-time "1.05 SBU (additional 0.65 SBU to run the testsuite)">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f45b1953] | 15 | <sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[7f72cbf] | 20 | <?dbhtml filename="libxml2.html"?>
|
---|
[f45b1953] | 21 | <title>libxml2-&libxml2-version;</title>
|
---|
[f71c3c5] | 22 | <indexterm zone="libxml2">
|
---|
| 23 | <primary sortas="a-Libxml2">Libxml2</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[52d29f7] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>libxml2</application></title>
|
---|
[2744e401] | 27 |
|
---|
[52d29f7] | 28 | <para>The <application>libxml2</application> package contains
|
---|
| 29 | <acronym>XML</acronym> libraries. These are useful for parsing
|
---|
| 30 | <acronym>XML</acronym> files.</para>
|
---|
[2744e401] | 31 |
|
---|
[52d29f7] | 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem><para>Download (HTTP): <ulink
|
---|
| 35 | url="&libxml2-download-http;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download (FTP): <ulink
|
---|
| 37 | url="&libxml2-download-ftp;"/></para></listitem>
|
---|
[8327e8b9] | 38 | <listitem><para>Download MD5 sum: &libxml2-md5sum;</para></listitem>
|
---|
[52d29f7] | 39 | <listitem><para>Download size: &libxml2-size;</para></listitem>
|
---|
[8401a46] | 40 | <listitem><para>Estimated disk space
|
---|
[52d29f7] | 41 | required: &libxml2-buildsize;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated build time:
|
---|
| 43 | &libxml2-time;</para></listitem></itemizedlist>
|
---|
| 44 | </sect3>
|
---|
[2744e401] | 45 |
|
---|
[52d29f7] | 46 | <sect3><title><application>libxml2</application> dependencies</title>
|
---|
| 47 | <sect4><title>Optional</title>
|
---|
[f71c3c5] | 48 | <para><xref linkend="python"/></para>
|
---|
| 49 | </sect4>
|
---|
[52d29f7] | 50 | </sect3>
|
---|
[2744e401] | 51 |
|
---|
[52d29f7] | 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 | <sect2>
|
---|
| 55 | <title>Installation of <application>libxml2</application></title>
|
---|
[2744e401] | 56 |
|
---|
| 57 | <para>Install <application>libxml2</application> by running the following
|
---|
| 58 | commands:</para>
|
---|
| 59 |
|
---|
[4ca92e2c] | 60 | <screen><userinput><command>./configure --prefix=/usr --with-history &&
|
---|
[f71c3c5] | 61 | make</command></userinput></screen>
|
---|
| 62 |
|
---|
[18d8cb20] | 63 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 64 |
|
---|
[f71c3c5] | 65 | <para>Now, as the root user:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[2744e401] | 68 |
|
---|
[52d29f7] | 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2>
|
---|
| 72 | <title>Command explanations</title>
|
---|
[2744e401] | 73 |
|
---|
| 74 | <para><option>--with-history</option>: Enables
|
---|
| 75 | <application>readline</application> support.</para>
|
---|
| 76 |
|
---|
[52d29f7] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2>
|
---|
| 80 | <title>Contents</title>
|
---|
[2744e401] | 81 |
|
---|
[f71c3c5] | 82 | <segmentedlist>
|
---|
| 83 | <segtitle>Installed Programs</segtitle>
|
---|
| 84 | <segtitle>Installed Libraries</segtitle>
|
---|
| 85 | <segtitle>Installed Directories</segtitle>
|
---|
| 86 | <seglistitem>
|
---|
| 87 | <seg>xml2-config, xmlcatalog and xmllint</seg>
|
---|
| 88 | <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
|
---|
| 89 | <application>Python</application> module</seg>
|
---|
[8327e8b9] | 90 | <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version; and
|
---|
[f71c3c5] | 91 | /usr/share/doc/libxml2-python-&libxml2-version;</seg>
|
---|
| 92 | </seglistitem>
|
---|
| 93 | </segmentedlist>
|
---|
| 94 |
|
---|
| 95 | <variablelist>
|
---|
| 96 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 97 | <?dbfo list-presentation="list"?>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="xml2-config">
|
---|
| 100 | <term><command>xml2-config</command></term>
|
---|
| 101 | <listitem><para>determines the compile and linker flags that should be used to
|
---|
| 102 | compile and link programs that use
|
---|
| 103 | <filename class='libraryfile'>libxml2</filename>.</para>
|
---|
| 104 | <indexterm zone="libxml2 xml2-config">
|
---|
| 105 | <primary sortas="b-xml2-config">xml2-config</primary></indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="xmlcatalog">
|
---|
| 110 | <term><command>xmlcatalog</command></term>
|
---|
| 111 | <listitem><para>is used to monitor and manipulate <acronym>XML</acronym>
|
---|
| 112 | and <acronym>SGML</acronym> catalogs.</para>
|
---|
| 113 | <indexterm zone="libxml2 xmlcatalog">
|
---|
| 114 | <primary sortas="b-xmlcatalog">xmlcatalog</primary></indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="xmllint">
|
---|
| 119 | <term><command>xmllint</command></term>
|
---|
| 120 | <listitem><para>parses <acronym>XML</acronym> files and outputs reports (based
|
---|
| 121 | upon options) to detect errors in <acronym>XML</acronym> coding.</para>
|
---|
| 122 | <indexterm zone="libxml2 xmllint">
|
---|
| 123 | <primary sortas="b-xmllint">xmllint</primary></indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="libxml2-lib">
|
---|
| 128 | <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
|
---|
| 129 | <listitem><para> libraries provide the functions for programs to parse files
|
---|
| 130 | that use the <acronym>XML</acronym> format.</para>
|
---|
| 131 | <indexterm zone="libxml2 libxml2-lib">
|
---|
| 132 | <primary sortas="c-libxml2">libxml2.[so,a]</primary></indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 | </variablelist>
|
---|
[2744e401] | 136 |
|
---|
[52d29f7] | 137 | </sect2>
|
---|
[f45b1953] | 138 |
|
---|
| 139 | </sect1>
|
---|