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