glfs/general/genlib/libxml2.xml
Randy McMurchy 3c985d944b Updated to libxml2-2.6.21
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5020 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-09-08 18:36:24 +00:00

168 lines
5.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-size "4.2 MB">
<!ENTITY libxml2-md5sum "131f2d98ed75ec1dc118783a21104107">
<!ENTITY libxml2-buildsize "78 MB (additional 183 MB to run the test suite)">
<!ENTITY libxml2-time "1.2 SBU (additional 0.8 SBU to run the test suite)">
]>
<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
<?dbhtml filename="libxml2.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Libxml2-&libxml2-version;</title>
<indexterm zone="libxml2">
<primary sortas="a-Libxml2">Libxml2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Libxml2</title>
<para>The <application>libxml2</application> package contains
XML libraries. These are useful for parsing XML files.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libxml2-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libxml2-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libxml2-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libxml2-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Libxml2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para><xref linkend="python"/> (will create a
<application>Python</application> library module if found) and
<xref linkend="libxslt"/> (not required for the test suite, but used if
found)</para>
<bridgehead renderas="sect4">Optional (Required to Run the Full Suite of
Tests)</bridgehead>
<para><xref linkend="python"/> and <xref linkend="wget"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Libxml2</title>
<para>Install <application>libxml2</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --with-history &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--with-history</parameter>: Enables
<application>readline</application> support.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>xml2-config, xmlcatalog, and xmllint</seg>
<seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
<application>Python</application> module</seg>
<seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;, and
/usr/share/doc/libxml2-python-&libxml2-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="xml2-config">
<term><command>xml2-config</command></term>
<listitem>
<para>determines the compile and linker flags that should be used to
compile and link programs that use
<filename class='libraryfile'>libxml2</filename>.</para>
<indexterm zone="libxml2 xml2-config">
<primary sortas="b-xml2-config">xml2-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="xmlcatalog">
<term><command>xmlcatalog</command></term>
<listitem>
<para>is used to monitor and manipulate XML
and SGML catalogs.</para>
<indexterm zone="libxml2 xmlcatalog">
<primary sortas="b-xmlcatalog">xmlcatalog</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="xmllint">
<term><command>xmllint</command></term>
<listitem>
<para>parses XML files and outputs reports (based
upon options) to detect errors in XML coding.</para>
<indexterm zone="libxml2 xmllint">
<primary sortas="b-xmllint">xmllint</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libxml2-lib">
<term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
<listitem>
<para> libraries provide the functions for programs to parse files
that use the XML format.</para>
<indexterm zone="libxml2 libxml2-lib">
<primary sortas="c-libxml2">libxml2.[so,a]</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>