1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY expat-download-http "&sourceforge-repo;/expat/expat-&expat-version;.tar.gz">
|
---|
8 | <!ENTITY expat-download-ftp " ">
|
---|
9 | <!ENTITY expat-md5sum "dd7dab7a5fea97d2a6a43f511449b7cd">
|
---|
10 | <!ENTITY expat-size "552 KB">
|
---|
11 | <!ENTITY expat-buildsize "6.0 MB">
|
---|
12 | <!ENTITY expat-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="expat" xreflabel="expat-&expat-version;">
|
---|
16 | <?dbhtml filename="expat.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Expat-&expat-version;</title>
|
---|
20 |
|
---|
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 |
|
---|
28 | <para>The <application>Expat</application> package contains a stream oriented
|
---|
29 | C library for parsing XML.</para>
|
---|
30 |
|
---|
31 | &lfs75_checked;
|
---|
32 |
|
---|
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>
|
---|
54 |
|
---|
55 | <!--
|
---|
56 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
57 | <itemizedlist spacing='compact'>
|
---|
58 | <listitem>
|
---|
59 | <para>Required patch: <ulink
|
---|
60 | url="&patch-root;/expat-&expat-version;-fixes-3.patch"/></para>
|
---|
61 | </listitem>
|
---|
62 | </itemizedlist>
|
---|
63 | -->
|
---|
64 |
|
---|
65 | <para condition="html" role="usernotes">User Notes:
|
---|
66 | <ulink url="&blfs-wiki;/expat"/></para>
|
---|
67 |
|
---|
68 | </sect2>
|
---|
69 |
|
---|
70 | <sect2 role="installation">
|
---|
71 | <title>Installation of Expat</title>
|
---|
72 |
|
---|
73 | <para>Install <application>Expat</application> by running the following
|
---|
74 | commands:</para>
|
---|
75 |
|
---|
76 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
77 | make</userinput></screen>
|
---|
78 |
|
---|
79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
80 |
|
---|
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>
|
---|
84 |
|
---|
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 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="commands">
|
---|
92 | <title>Command Explanations</title>
|
---|
93 |
|
---|
94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
95 | href="../../xincludes/static-libraries.xml"/>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="content">
|
---|
100 | <title>Contents</title>
|
---|
101 |
|
---|
102 | <segmentedlist>
|
---|
103 | <segtitle>Installed Program</segtitle>
|
---|
104 | <segtitle>Installed Library</segtitle>
|
---|
105 | <segtitle>Installed Directory</segtitle>
|
---|
106 |
|
---|
107 | <seglistitem>
|
---|
108 | <seg>xmlwf</seg>
|
---|
109 | <seg>libexpat.so</seg>
|
---|
110 | <seg>/usr/share/doc/expat-&expat-version;</seg>
|
---|
111 | </seglistitem>
|
---|
112 | </segmentedlist>
|
---|
113 |
|
---|
114 | <variablelist>
|
---|
115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
116 | <?dbfo list-presentation="list"?>
|
---|
117 | <?dbhtml list-presentation="table"?>
|
---|
118 |
|
---|
119 | <varlistentry id="xmlwf">
|
---|
120 | <term><command>xmlwf</command></term>
|
---|
121 | <listitem>
|
---|
122 | <para>is a non-validating utility to check whether or not
|
---|
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>
|
---|
129 |
|
---|
130 | <varlistentry id="libexpat">
|
---|
131 | <term><filename class='libraryfile'>libexpat.so</filename></term>
|
---|
132 | <listitem>
|
---|
133 | <para>contains API functions for parsing XML.</para>
|
---|
134 | <indexterm zone="expat libexpat">
|
---|
135 | <primary sortas="c-libexpat">libexpat.so</primary>
|
---|
136 | </indexterm>
|
---|
137 | </listitem>
|
---|
138 | </varlistentry>
|
---|
139 |
|
---|
140 | </variablelist>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | </sect1>
|
---|