2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<!ENTITY expat-download-http "http://prdownloads.sourceforge.net/expat/expat-&expat-version;.tar.gz">
|
|
|
|
<!ENTITY expat-download-ftp " ">
|
|
|
|
<!ENTITY expat-md5sum "aff487543845a82fe262e6e2922b4c8e">
|
|
|
|
<!ENTITY expat-size "314 KB">
|
2005-08-08 14:10:08 +08:00
|
|
|
<!ENTITY expat-buildsize "4.5 MB">
|
|
|
|
<!ENTITY expat-time "0.1 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2002-10-03 07:11:53 +08:00
|
|
|
<sect1 id="expat" xreflabel="expat-&expat-version;">
|
2005-05-01 04:10:14 +08:00
|
|
|
<?dbhtml filename="expat.html"?>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2005-12-02 04:50:08 +08:00
|
|
|
<keywordset>
|
|
|
|
<keyword role="package">expat-&expat-version;.tar</keyword>
|
2005-12-09 04:34:05 +08:00
|
|
|
<keyword role="ftpdir">expat</keyword>
|
2005-12-02 04:50:08 +08:00
|
|
|
</keywordset>
|
2005-05-01 04:10:14 +08:00
|
|
|
</sect1info>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<title>Expat-&expat-version;</title>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<indexterm zone="expat">
|
|
|
|
<primary sortas="a-Expat">Expat</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Expat</title>
|
|
|
|
|
2005-05-31 05:33:35 +08:00
|
|
|
<para>The <application>expat</application> package contains a stream oriented
|
2005-05-01 04:10:14 +08:00
|
|
|
C library for parsing XML.</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&expat-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&expat-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &expat-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &expat-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &expat-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &expat-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<bridgehead renderas="sect3">Expat Dependencies</bridgehead>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2005-12-02 04:50:08 +08:00
|
|
|
<para role="optional"><ulink url="http://check.sourceforge.net/">Check</ulink>
|
2005-05-01 04:10:14 +08:00
|
|
|
(for running the test suite)</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Expat</title>
|
|
|
|
|
2005-05-31 05:33:35 +08:00
|
|
|
<para>Install <application>expat</application> by running the following
|
2005-05-01 04:10:14 +08:00
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-08-08 14:10:08 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -v -m755 -d /usr/share/doc/expat-&expat-version; &&
|
|
|
|
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>xmlwf</seg>
|
|
|
|
<seg>libexpat.[so,a]</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<varlistentry id="xmlwf">
|
|
|
|
<term><command>xmlwf</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:33:35 +08:00
|
|
|
<para>is a non-validating utility to check whether or not
|
2005-05-01 04:10:14 +08:00
|
|
|
XML documents are well formed.</para>
|
|
|
|
<indexterm zone="expat xmlwf">
|
|
|
|
<primary sortas="b-xmlwf">xmlwf</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<varlistentry id="libexpat">
|
|
|
|
<term><filename class='libraryfile'>libexpat.[so,a]</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>contains API functions for parsing XML.</para>
|
|
|
|
<indexterm zone="expat libexpat">
|
|
|
|
<primary sortas="c-libexpat">libexpat.[so,a]</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-10-03 07:11:53 +08:00
|
|
|
|
|
|
|
</sect1>
|