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