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