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