mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
1162970f93
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6826 af4574ff-66df-0310-9fd7-8a98e5e911e0
129 lines
3.9 KiB
XML
129 lines
3.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY expat-download-http "http://downloads.sourceforge.net/expat/expat-&expat-version;.tar.gz">
|
|
<!ENTITY expat-download-ftp " ">
|
|
<!ENTITY expat-md5sum "ee8b492592568805593f81f8cdf2a04c">
|
|
<!ENTITY expat-size "446 KB">
|
|
<!ENTITY expat-buildsize "6 MB">
|
|
<!ENTITY expat-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="expat" xreflabel="expat-&expat-version;">
|
|
<?dbhtml filename="expat.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Expat-&expat-version;</title>
|
|
|
|
<indexterm zone="expat">
|
|
<primary sortas="a-Expat">Expat</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Expat</title>
|
|
|
|
<para>The <application>Expat</application> package contains a stream oriented
|
|
C library for parsing XML.</para>
|
|
|
|
<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>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/expat"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Expat</title>
|
|
|
|
<para>Install <application>Expat</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>xmlwf</seg>
|
|
<seg>libexpat.{so,a}</seg>
|
|
<seg>/usr/share/doc/expat-&expat-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="xmlwf">
|
|
<term><command>xmlwf</command></term>
|
|
<listitem>
|
|
<para>is a non-validating utility to check whether or not
|
|
XML documents are well formed.</para>
|
|
<indexterm zone="expat xmlwf">
|
|
<primary sortas="b-xmlwf">xmlwf</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<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>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|