expat.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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-fin-sbu;</seg>
  27. <seg>&expat-fin-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Expat</title>
  33. <para>Prepare Expat for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr \
  35. --disable-static \
  36. --docdir=/usr/share/doc/expat-&expat-version;</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 -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
  45. </sect2>
  46. <!-- - - - - - - - - - -->
  47. <!-- Multilib - 32bit -->
  48. <!-- - - - - - - - - - -->
  49. <sect2 arch="ml_32,ml_all" role="installation">
  50. <title>Installation of Expat - 32bit</title>
  51. <para>Clean previous build but keep precompiled doc because it
  52. cannot be rebuilt in this stage of the system:</para>
  53. <screen><userinput remap="pre">sed -e "/^am__append_1/ s/doc//" -i Makefile
  54. make clean</userinput></screen>
  55. <para>Prepare Expat for compilation:</para>
  56. <screen><userinput remap="configure">CC="gcc -m32" ./configure \
  57. --prefix=/usr \
  58. --libdir=&usr-lib-m32; \
  59. --host=i686-pc-linux-gnu</userinput></screen>
  60. <para>Compile the package:</para>
  61. <screen><userinput remap="make">make</userinput></screen>
  62. <para>Install the package:</para>
  63. <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
  64. cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
  65. rm -rf DESTDIR</userinput></screen>
  66. </sect2><!-- m32 -->
  67. <!-- - - - - - - - - - -->
  68. <!-- Multilib - x32bit -->
  69. <!-- - - - - - - - - - -->
  70. <sect2 arch="ml_x32,ml_all" role="installation">
  71. <title>Installation of Expat - x32bit</title>
  72. <para>Clean previous build but keep precompiled doc because it
  73. cannot be rebuilt in this stage of the system:</para>
  74. <screen><userinput remap="pre">sed -e "/^am__append_1/ s/doc//" -i Makefile
  75. make clean</userinput></screen>
  76. <para>Prepare Expat for compilation:</para>
  77. <screen><userinput remap="configure">CC="gcc -mx32" ./configure \
  78. --prefix=/usr \
  79. --libdir=&usr-lib-mx32; \
  80. --host=x86_64-pc-linux-gnux32</userinput></screen>
  81. <para>Compile the package:</para>
  82. <screen><userinput remap="make">make</userinput></screen>
  83. <para>Install the package:</para>
  84. <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
  85. cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
  86. rm -rf DESTDIR</userinput></screen>
  87. </sect2><!-- mx32 -->
  88. <sect2 id="contents-expat" role="content">
  89. <title>Contents of Expat</title>
  90. <segmentedlist>
  91. <segtitle>Installed program</segtitle>
  92. <segtitle>Installed libraries</segtitle>
  93. <segtitle>Installed directory</segtitle>
  94. <seglistitem>
  95. <seg>xmlwf</seg>
  96. <seg>libexpat.so</seg>
  97. <seg>/usr/share/doc/expat-&expat-version;</seg>
  98. </seglistitem>
  99. </segmentedlist>
  100. <variablelist>
  101. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  102. <?dbfo list-presentation="list"?>
  103. <?dbhtml list-presentation="table"?>
  104. <varlistentry id="xmlwf">
  105. <term><command>xmlwf </command></term>
  106. <listitem>
  107. <para>Is a non-validating utility to check whether or not
  108. XML documents are well formed</para>
  109. <indexterm zone="ch-system-expat xmlwf">
  110. <primary sortas="b-xmlwf">xmlwf</primary>
  111. </indexterm>
  112. </listitem>
  113. </varlistentry>
  114. <varlistentry id="libexpat">
  115. <term><filename class="libraryfile">libexpat</filename></term>
  116. <listitem>
  117. <para>Contains API functions for parsing XML</para>
  118. <indexterm zone="ch-system-expat libexpat">
  119. <primary sortas="c-libexpat">libexpat</primary>
  120. </indexterm>
  121. </listitem>
  122. </varlistentry>
  123. </variablelist>
  124. </sect2>
  125. </sect1>