[e59e934] | 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 | |
---|
| 8 | <sect1 id="ch-system-expat" role="wrap"> |
---|
| 9 | <?dbhtml filename="expat.html"?> |
---|
| 10 | |
---|
| 11 | <title>Expat-&expat-version;</title> |
---|
| 12 | |
---|
| 13 | <indexterm zone="ch-system-expat"> |
---|
| 14 | <primary sortas="a-Expat">Expat</primary> |
---|
| 15 | </indexterm> |
---|
| 16 | |
---|
| 17 | <sect2 role="package"> |
---|
| 18 | <title/> |
---|
| 19 | |
---|
| 20 | <para>Expat is a stream-oriented XML parser library written in C.</para> |
---|
| 21 | |
---|
| 22 | </sect2> |
---|
| 23 | |
---|
| 24 | <sect2 role="installation"> |
---|
| 25 | <title>Installation of Expat</title> |
---|
| 26 | |
---|
| 27 | <para os="a">Prepare Expat for compilation:</para> |
---|
| 28 | |
---|
| 29 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> |
---|
| 30 | |
---|
| 31 | <para os="c">Compile the package:</para> |
---|
| 32 | |
---|
| 33 | <screen os="d"><userinput>make</userinput></screen> |
---|
| 34 | |
---|
[e6d1f04] | 35 | <para os="e">To test the results, issue:</para> |
---|
| 36 | |
---|
| 37 | <screen os="e2"><userinput remap="test">make check</userinput></screen> |
---|
[e59e934] | 38 | |
---|
| 39 | <para os="f">Install the package:</para> |
---|
| 40 | |
---|
| 41 | <screen os="g"><userinput>make install</userinput></screen> |
---|
| 42 | |
---|
| 43 | <para os="h">Install the documentation:</para> |
---|
| 44 | |
---|
| 45 | <screen os="i"><userinput>install -v -m755 -d /usr/share/doc/expat-&expat-version; |
---|
| 46 | install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen> |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | </sect2> |
---|
| 50 | |
---|
| 51 | <sect2 id="contents-expat" role="content"> |
---|
| 52 | <title>Contents of Expat</title> |
---|
| 53 | |
---|
| 54 | <segmentedlist> |
---|
| 55 | <segtitle>Installed program</segtitle> |
---|
| 56 | <segtitle>Installed library</segtitle> |
---|
| 57 | <segtitle>Installed directory</segtitle> |
---|
| 58 | |
---|
| 59 | <seglistitem> |
---|
| 60 | <seg>xmlwf</seg> |
---|
| 61 | <seg>libexpat.[so,a]</seg> |
---|
| 62 | <seg>/usr/share/doc/expat-&expat-version;</seg> |
---|
| 63 | </seglistitem> |
---|
| 64 | </segmentedlist> |
---|
| 65 | |
---|
| 66 | <variablelist> |
---|
| 67 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> |
---|
| 68 | <?dbfo list-presentation="list"?> |
---|
| 69 | <?dbhtml list-presentation="table"?> |
---|
| 70 | |
---|
| 71 | <varlistentry id="xmlwf"> |
---|
| 72 | <term><command>xmlwf</command></term> |
---|
| 73 | <listitem> |
---|
| 74 | <para>is a non-validating utility to check whether or not XML |
---|
| 75 | documents are well formed</para> |
---|
| 76 | <indexterm zone="ch-system-expat xmlwf"> |
---|
| 77 | <primary sortas="b-xmlwf">xmlwf</primary> |
---|
| 78 | </indexterm> |
---|
| 79 | </listitem> |
---|
| 80 | </varlistentry> |
---|
| 81 | |
---|
| 82 | <varlistentry id="libexpat"> |
---|
| 83 | <term><filename class="libraryfile">libexpat</filename></term> |
---|
| 84 | <listitem> |
---|
| 85 | <para>contains API functions for parsing XML</para> |
---|
| 86 | <indexterm zone="ch-system-expat libexpat"> |
---|
| 87 | <primary sortas="c-libexpat">libexpat</primary> |
---|
| 88 | </indexterm> |
---|
| 89 | </listitem> |
---|
| 90 | </varlistentry> |
---|
| 91 | |
---|
| 92 | </variablelist> |
---|
| 93 | |
---|
| 94 | </sect2> |
---|
| 95 | |
---|
| 96 | </sect1> |
---|