expat.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <sect1 id="ch-system-expat" role="wrap">
  8. <?dbhtml filename="expat.html"?>
  9. <sect1info condition="script">
  10. <productname>expat</productname>
  11. <productnumber>&expat-version;</productnumber>
  12. <address>&expat-url;</address>
  13. </sect1info>
  14. <title>Expat-&expat-version;</title>
  15. <indexterm zone="ch-system-expat">
  16. <primary sortas="a-Expat">Expat</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Expat package contains a stream oriented C library for
  21. parsing XML.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&expat-ch6-sbu;</seg>
  27. <seg>&expat-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Expat</title>
  33. <para>First fix a problem with the regession tests in the LFS environment:</para>
  34. <screen><userinput remap="pre">sed -i 's|usr/bin/env |bin/|' run.sh.in</userinput></screen>
  35. <para>Prepare Expat for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
  37. <para>Compile the package:</para>
  38. <screen><userinput remap="make">make</userinput></screen>
  39. <para>To test the results, issue:</para>
  40. <screen><userinput remap="test">make check</userinput></screen>
  41. <para>Install the package:</para>
  42. <screen><userinput remap="install">make install</userinput></screen>
  43. <para>If desired, install the documentation:</para>
  44. <screen><userinput remap="install">install -v -dm755 /usr/share/doc/expat-&expat-version;
  45. install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
  46. </sect2>
  47. <sect2 id="contents-expat" role="content">
  48. <title>Contents of Expat</title>
  49. <segmentedlist>
  50. <segtitle>Installed program</segtitle>
  51. <segtitle>Installed libraries</segtitle>
  52. <segtitle>Installed directory</segtitle>
  53. <seglistitem>
  54. <seg>xmlwf</seg>
  55. <seg>libexpat.so</seg>
  56. <seg>/usr/share/doc/expat-&expat-version;</seg>
  57. </seglistitem>
  58. </segmentedlist>
  59. <variablelist>
  60. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  61. <?dbfo list-presentation="list"?>
  62. <?dbhtml list-presentation="table"?>
  63. <varlistentry id="xmlwf">
  64. <term><command>xmlwf </command></term>
  65. <listitem>
  66. <para>is a non-validating utility to check whether or not
  67. XML documents are well formed</para>
  68. <indexterm zone="ch-system-expat xmlwf">
  69. <primary sortas="b-xmlwf">xmlwf</primary>
  70. </indexterm>
  71. </listitem>
  72. </varlistentry>
  73. <varlistentry id="libexpat">
  74. <term><filename class="libraryfile">libexpat</filename></term>
  75. <listitem>
  76. <para> contains API functions for parsing XML</para>
  77. <indexterm zone="ch-system-expat libexpat">
  78. <primary sortas="c-libexpat">libexpat</primary>
  79. </indexterm>
  80. </listitem>
  81. </varlistentry>
  82. </variablelist>
  83. </sect2>
  84. </sect1>