[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fc7e79c] | 7 | <!ENTITY expat-download-http "http://prdownloads.sourceforge.net/expat/expat-&expat-version;.tar.gz">
|
---|
[a73d16df] | 8 | <!ENTITY expat-download-ftp " ">
|
---|
| 9 | <!ENTITY expat-md5sum "d945df7f1c0868c5c73cf66ba9596f3f">
|
---|
| 10 | <!ENTITY expat-size "450 KB">
|
---|
| 11 | <!ENTITY expat-buildsize "5.8 MB">
|
---|
| 12 | <!ENTITY expat-time "0.1 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[6cab80b] | 15 | <sect1 id="expat" xreflabel="expat-&expat-version;">
|
---|
[fc7e79c] | 16 | <?dbhtml filename="expat.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[fc7e79c] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[4f26c54] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">expat-&expat-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">expat</keyword>
|
---|
[4f26c54] | 24 | </keywordset>
|
---|
[fc7e79c] | 25 | </sect1info>
|
---|
[8e75f8b9] | 26 |
|
---|
[fc7e79c] | 27 | <title>Expat-&expat-version;</title>
|
---|
[8e75f8b9] | 28 |
|
---|
[fc7e79c] | 29 | <indexterm zone="expat">
|
---|
| 30 | <primary sortas="a-Expat">Expat</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to Expat</title>
|
---|
| 35 |
|
---|
[a73d16df] | 36 | <para>The <application>Expat</application> package contains a stream oriented
|
---|
[fc7e79c] | 37 | C library for parsing XML.</para>
|
---|
[8e75f8b9] | 38 |
|
---|
[fc7e79c] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&expat-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&expat-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &expat-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &expat-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &expat-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &expat-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[8e75f8b9] | 60 |
|
---|
[1039de3] | 61 | <para condition="html" role="usernotes">User Notes:
|
---|
| 62 | <ulink url="&blfs-wiki;/expat"/></para>
|
---|
| 63 |
|
---|
[fc7e79c] | 64 | </sect2>
|
---|
[8e75f8b9] | 65 |
|
---|
[fc7e79c] | 66 | <sect2 role="installation">
|
---|
| 67 | <title>Installation of Expat</title>
|
---|
| 68 |
|
---|
[a73d16df] | 69 | <para>Install <application>Expat</application> by running the following
|
---|
[fc7e79c] | 70 | commands:</para>
|
---|
| 71 |
|
---|
| 72 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 73 | make</userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 76 |
|
---|
[b8c2185f] | 77 | <screen role="root"><userinput>make install &&
|
---|
| 78 | install -v -m755 -d /usr/share/doc/expat-&expat-version; &&
|
---|
| 79 | install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
|
---|
[8e75f8b9] | 80 |
|
---|
[a73d16df] | 81 | <para>To test the results, issue: <command>make check</command> as an
|
---|
| 82 | unprivileged user. Note this must be done after the package is
|
---|
| 83 | installed.</para>
|
---|
| 84 |
|
---|
[fc7e79c] | 85 | </sect2>
|
---|
[8e75f8b9] | 86 |
|
---|
[fc7e79c] | 87 | <sect2 role="content">
|
---|
| 88 | <title>Contents</title>
|
---|
| 89 |
|
---|
| 90 | <segmentedlist>
|
---|
| 91 | <segtitle>Installed Program</segtitle>
|
---|
| 92 | <segtitle>Installed Library</segtitle>
|
---|
[a73d16df] | 93 | <segtitle>Installed Directory</segtitle>
|
---|
[8e75f8b9] | 94 |
|
---|
[fc7e79c] | 95 | <seglistitem>
|
---|
| 96 | <seg>xmlwf</seg>
|
---|
[1039de3] | 97 | <seg>libexpat.{so,a}</seg>
|
---|
[a73d16df] | 98 | <seg>/usr/share/doc/expat-&expat-version;</seg>
|
---|
[fc7e79c] | 99 | </seglistitem>
|
---|
| 100 | </segmentedlist>
|
---|
[8e75f8b9] | 101 |
|
---|
[fc7e79c] | 102 | <variablelist>
|
---|
| 103 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 104 | <?dbfo list-presentation="list"?>
|
---|
| 105 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 106 |
|
---|
[fc7e79c] | 107 | <varlistentry id="xmlwf">
|
---|
| 108 | <term><command>xmlwf</command></term>
|
---|
| 109 | <listitem>
|
---|
[74390482] | 110 | <para>is a non-validating utility to check whether or not
|
---|
[fc7e79c] | 111 | XML documents are well formed.</para>
|
---|
| 112 | <indexterm zone="expat xmlwf">
|
---|
| 113 | <primary sortas="b-xmlwf">xmlwf</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
[8e75f8b9] | 117 |
|
---|
[fc7e79c] | 118 | <varlistentry id="libexpat">
|
---|
[1039de3] | 119 | <term><filename class='libraryfile'>libexpat.{so,a}</filename></term>
|
---|
[fc7e79c] | 120 | <listitem>
|
---|
| 121 | <para>contains API functions for parsing XML.</para>
|
---|
| 122 | <indexterm zone="expat libexpat">
|
---|
[1039de3] | 123 | <primary sortas="c-libexpat">libexpat.{so,a}</primary>
|
---|
[fc7e79c] | 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
[8e75f8b9] | 127 |
|
---|
[fc7e79c] | 128 | </variablelist>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
[6cab80b] | 131 |
|
---|
| 132 | </sect1>
|
---|