gdbm.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. It is a library
  21. of database functions that use extensible hashing and work similar to the
  22. standard UNIX dbm. The library provides primitives for storing key/data
  23. pairs, searching and retrieving the data by its key and deleting a key
  24. along with its data. </para>
  25. <segmentedlist>
  26. <segtitle>&buildtime;</segtitle>
  27. <segtitle>&diskspace;</segtitle>
  28. <seglistitem>
  29. <seg>&gdbm-ch6-sbu;</seg>
  30. <seg>&gdbm-ch6-du;</seg>
  31. </seglistitem>
  32. </segmentedlist>
  33. </sect2>
  34. <sect2 role="installation">
  35. <title>Installation of GDBM</title>
  36. <para>Prepare GDBM for compilation:</para>
  37. <screen><userinput remap="configure">./configure --prefix=/usr \
  38. --disable-static \
  39. --enable-libgdbm-compat</userinput></screen>
  40. <variablelist>
  41. <title>The meaning of the configure option:</title>
  42. <varlistentry>
  43. <term><envar>--enable-libgdbm-compat</envar></term>
  44. <listitem>
  45. <para>This switch enables the libgdbm compatibility library to be
  46. built, as some packages outside of LFS may require the older DBM
  47. routines it provides.</para>
  48. </listitem>
  49. </varlistentry>
  50. </variablelist>
  51. <para>Compile the package:</para>
  52. <screen><userinput remap="make">make</userinput></screen>
  53. <para>To test the results, issue:</para>
  54. <screen><userinput remap="test">make check</userinput></screen>
  55. <para>Install the package:</para>
  56. <screen><userinput remap="install">make install</userinput></screen>
  57. </sect2>
  58. <sect2 id="contents-gdbm" role="content">
  59. <title>Contents of GDBM</title>
  60. <segmentedlist>
  61. <segtitle>Installed programs</segtitle>
  62. <segtitle>Installed libraries</segtitle>
  63. <seglistitem>
  64. <seg>gdbm_dump, gdbm_load, and gdbmtool</seg>
  65. <seg>libgdbm.{a,so} and libgdbm_compat.{a,so}</seg>
  66. </seglistitem>
  67. </segmentedlist>
  68. <variablelist>
  69. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  70. <?dbfo list-presentation="list"?>
  71. <?dbhtml list-presentation="table"?>
  72. <varlistentry id="gdbm_dump">
  73. <term><command>gdbm_dump</command></term>
  74. <listitem>
  75. <para>Dumps a GDBM database to a file</para>
  76. <indexterm zone="ch-system-gdbm gdbm_dump">
  77. <primary sortas="b-gdbm_dump">gdbm_dump</primary>
  78. </indexterm>
  79. </listitem>
  80. </varlistentry>
  81. <varlistentry id="gdbm_load">
  82. <term><command>gdbm_load</command></term>
  83. <listitem>
  84. <para>Recreates a GDBM database from a dump file</para>
  85. <indexterm zone="ch-system-gdbm gdbm_load">
  86. <primary sortas="b-gdbm_load">gdbm_load</primary>
  87. </indexterm>
  88. </listitem>
  89. </varlistentry>
  90. <varlistentry id="gdbmtool">
  91. <term><command>gdbmtool</command></term>
  92. <listitem>
  93. <para>Tests and modifies a GDBM database</para>
  94. <indexterm zone="ch-system-gdbm gdbmtool">
  95. <primary sortas="b-gdbmtool">gdbmtool</primary>
  96. </indexterm>
  97. </listitem>
  98. </varlistentry>
  99. <varlistentry id="libgdbm">
  100. <term><filename class="libraryfile">libgdbm</filename></term>
  101. <listitem>
  102. <para>Contains functions to manipulate a hashed database</para>
  103. <indexterm zone="ch-system-gdbm libgdbm">
  104. <primary sortas="c-libgdbm">libgdbm</primary>
  105. </indexterm>
  106. </listitem>
  107. </varlistentry>
  108. <varlistentry id="libgdbm_compat">
  109. <term><filename class="libraryfile">libgdbm_compat</filename></term>
  110. <listitem>
  111. <para>Compatibility library containing older DBM functions</para>
  112. <indexterm zone="ch-system-gdbm libgdbm_compat">
  113. <primary sortas="c-libgdbm_compat">libgdbm_compat</primary>
  114. </indexterm>
  115. </listitem>
  116. </varlistentry>
  117. </variablelist>
  118. </sect2>
  119. </sect1>