glfs/general/genlib/libxml2.xml
Igor Živković 18d8cb20b9 Added a test suite note to libxml2.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3746 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-04-17 10:42:33 +00:00

140 lines
4.5 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://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-size "4.1 MB">
<!ENTITY libxml2-md5sum "61587d43389a414fc2f5223b428e325e">
<!ENTITY libxml2-buildsize "160 MB">
<!ENTITY libxml2-time "1.05 SBU (additional 0.65 SBU to run the testsuite)">
]>
<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="libxml2.html"?>
<title>libxml2-&libxml2-version;</title>
<indexterm zone="libxml2">
<primary sortas="a-Libxml2">Libxml2</primary></indexterm>
<sect2>
<title>Introduction to <application>libxml2</application></title>
<para>The <application>libxml2</application> package contains
<acronym>XML</acronym> libraries. These are useful for parsing
<acronym>XML</acronym> files.</para>
<sect3><title>Package information</title>
<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>
</sect3>
<sect3><title><application>libxml2</application> dependencies</title>
<sect4><title>Optional</title>
<para><xref linkend="python"/></para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>libxml2</application></title>
<para>Install <application>libxml2</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr --with-history &amp;&amp;
make</command></userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Now, as the root user:</para>
<screen><userinput role='root'><command>make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><option>--with-history</option>: Enables
<application>readline</application> support.</para>
</sect2>
<sect2>
<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"?>
<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 <acronym>XML</acronym>
and <acronym>SGML</acronym> 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 <acronym>XML</acronym> files and outputs reports (based
upon options) to detect errors in <acronym>XML</acronym> 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 <acronym>XML</acronym> format.</para>
<indexterm zone="libxml2 libxml2-lib">
<primary sortas="c-libxml2">libxml2.[so,a]</primary></indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>