gdbm.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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-gdbm" role="wrap">
  8. <?dbhtml filename="gdbm.html"?>
  9. <sect1info condition="script">
  10. <productname>gdbm</productname>
  11. <productnumber>&gdbm-version;</productnumber>
  12. <address>&gdbm-url;</address>
  13. </sect1info>
  14. <title>GDBM-&gdbm-version;</title>
  15. <indexterm zone="ch-system-gdbm">
  16. <primary sortas="a-Gdbm">GDBM</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The GDBM package contains the GNU Database Manager. This is a disk
  21. file format database which stores key/data-pairs in single files. The
  22. actual data of any record being stored is indexed by a unique key, which can
  23. be retrieved in less time than if it was stored in a text file.</para>
  24. <segmentedlist>
  25. <segtitle>&buildtime;</segtitle>
  26. <segtitle>&diskspace;</segtitle>
  27. <seglistitem>
  28. <seg>&gdbm-ch6-sbu;</seg>
  29. <seg>&gdbm-ch6-du;</seg>
  30. </seglistitem>
  31. </segmentedlist>
  32. </sect2>
  33. <sect2 role="installation">
  34. <title>Installation of GDBM</title>
  35. <para>Prepare GDBM for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr --enable-libgdbm-compat</userinput></screen>
  37. <variablelist>
  38. <title>The meaning of the configure option:</title>
  39. <varlistentry>
  40. <term><envar>--enable-libgdbm-compat</envar></term>
  41. <listitem>
  42. <para>This switch enables the libgdbm compatibility library to be
  43. built, as some packages outside of LFS may require the older DBM
  44. routines it provides.</para>
  45. </listitem>
  46. </varlistentry>
  47. </variablelist>
  48. <para>Compile the package:</para>
  49. <screen><userinput remap="make">make</userinput></screen>
  50. <para>To test the results, issue:</para>
  51. <screen><userinput remap="test">make check</userinput></screen>
  52. <para>Install the package:</para>
  53. <screen><userinput remap="install">make install</userinput></screen>
  54. </sect2>
  55. <sect2 id="contents-gdbm" role="content">
  56. <title>Contents of GDBM</title>
  57. <segmentedlist>
  58. <segtitle>Installed program</segtitle>
  59. <segtitle>Installed libraries</segtitle>
  60. <seglistitem>
  61. <seg>testgdbm</seg>
  62. <seg>libgdbm.{so,a} and libgdbm_compat.{so,a}</seg>
  63. </seglistitem>
  64. </segmentedlist>
  65. <variablelist>
  66. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  67. <?dbfo list-presentation="list"?>
  68. <?dbhtml list-presentation="table"?>
  69. <varlistentry id="testgdbm">
  70. <term><command>testgdbm</command></term>
  71. <listitem>
  72. <para>Tests and modifies a GDBM database</para>
  73. <indexterm zone="ch-system-gdbm testgdbm">
  74. <primary sortas="b-testgdbm">testgdbm</primary>
  75. </indexterm>
  76. </listitem>
  77. </varlistentry>
  78. <varlistentry id="libgdbm">
  79. <term><filename class="libraryfile">libgdbm</filename></term>
  80. <listitem>
  81. <para>Contains functions to manipulate a hashed database</para>
  82. <indexterm zone="ch-system-gdbm libgdbm">
  83. <primary sortas="c-libgdbm">libgdbm</primary>
  84. </indexterm>
  85. </listitem>
  86. </varlistentry>
  87. </variablelist>
  88. </sect2>
  89. </sect1>