2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2008-10-13 22:49:44 +08:00
|
|
|
<!ENTITY expat-download-http "&sourceforge-repo;/expat/expat-&expat-version;.tar.gz">
|
2006-03-25 05:03:21 +08:00
|
|
|
<!ENTITY expat-download-ftp " ">
|
2012-04-01 00:35:48 +08:00
|
|
|
<!ENTITY expat-md5sum "dd7dab7a5fea97d2a6a43f511449b7cd">
|
|
|
|
<!ENTITY expat-size "552 KB">
|
|
|
|
<!ENTITY expat-buildsize "6.0 MB">
|
2006-03-25 05:03:21 +08:00
|
|
|
<!ENTITY expat-time "0.1 SBU">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2007-02-15 01:41:56 +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>
|
|
|
|
</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>
|
|
|
|
|
2006-03-25 05:03:21 +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
|
|
|
|
2014-02-18 06:31:12 +08:00
|
|
|
&lfs75_checked;
|
2009-08-01 05:36:53 +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
|
|
|
|
2012-04-01 00:35:48 +08:00
|
|
|
<!--
|
2010-11-27 08:24:53 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
2010-12-19 03:10:59 +08:00
|
|
|
url="&patch-root;/expat-&expat-version;-fixes-3.patch"/></para>
|
2010-11-27 08:24:53 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2012-04-01 00:35:48 +08:00
|
|
|
-->
|
2010-11-27 08:24:53 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/expat"/></para>
|
|
|
|
|
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>
|
|
|
|
|
2006-03-25 05:03:21 +08:00
|
|
|
<para>Install <application>Expat</application> by running the following
|
2005-05-01 04:10:14 +08:00
|
|
|
commands:</para>
|
|
|
|
|
2013-05-29 16:18:35 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
2005-05-01 04:10:14 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<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
|
|
|
|
2006-03-25 05:03:21 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command> as an
|
|
|
|
unprivileged user. Note this must be done after the package is
|
|
|
|
installed.</para>
|
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2010-11-27 08:24:53 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2012-04-01 00:35:48 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2013-02-12 02:51:17 +08:00
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2010-11-27 08:24:53 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
2006-03-25 05:03:21 +08:00
|
|
|
<segtitle>Installed Directory</segtitle>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 04:10:14 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>xmlwf</seg>
|
2013-05-29 16:18:35 +08:00
|
|
|
<seg>libexpat.so</seg>
|
2006-03-25 05:03:21 +08:00
|
|
|
<seg>/usr/share/doc/expat-&expat-version;</seg>
|
2005-05-01 04:10:14 +08:00
|
|
|
</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">
|
2013-05-29 16:18:35 +08:00
|
|
|
<term><filename class='libraryfile'>libexpat.so</filename></term>
|
2005-05-01 04:10:14 +08:00
|
|
|
<listitem>
|
|
|
|
<para>contains API functions for parsing XML.</para>
|
|
|
|
<indexterm zone="expat libexpat">
|
2013-05-29 16:18:35 +08:00
|
|
|
<primary sortas="c-libexpat">libexpat.so</primary>
|
2005-05-01 04:10:14 +08:00
|
|
|
</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>
|