gdbm.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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>gdbm_dump, gdbm_load, and gdbmtool</seg>
  62. <seg>libgdbm.{a,so} and libgdbm_compat.{a,so}</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="gdbm_dump">
  70. <term><command>gdbm_dump</command></term>
  71. <listitem>
  72. <para>Dumps a GDBM database to a file.</para>
  73. <indexterm zone="ch-system-gdbm gdbm_dump">
  74. <primary sortas="b-gdbm_dump">gdbm_dump</primary>
  75. </indexterm>
  76. </listitem>
  77. </varlistentry>
  78. <varlistentry id="gdbm_load">
  79. <term><command>gdbm_load</command></term>
  80. <listitem>
  81. <para>Recreates a GDBM database from a dump file.</para>
  82. <indexterm zone="ch-system-gdbm gdbm_load">
  83. <primary sortas="b-gdbm_load">gdbm_load</primary>
  84. </indexterm>
  85. </listitem>
  86. </varlistentry>
  87. <varlistentry id="gdbmtool">
  88. <term><command>gdbmtool</command></term>
  89. <listitem>
  90. <para>Tests and modifies a GDBM database</para>
  91. <indexterm zone="ch-system-gdbm gdbmtool">
  92. <primary sortas="b-gdbmtool">gdbmtool</primary>
  93. </indexterm>
  94. </listitem>
  95. </varlistentry>
  96. <varlistentry id="libgdbm">
  97. <term><filename class="libraryfile">libgdbm</filename></term>
  98. <listitem>
  99. <para>Contains functions to manipulate a hashed database</para>
  100. <indexterm zone="ch-system-gdbm libgdbm">
  101. <primary sortas="c-libgdbm">libgdbm</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="libgdbm_compat">
  106. <term><filename class="libraryfile">libgdbm_compat</filename></term>
  107. <listitem>
  108. <para>Compatibility library containing older DBM functions</para>
  109. <indexterm zone="ch-system-gdbm libgdbm_compat">
  110. <primary sortas="c-libgdbm_compat">libgdbm_compat</primary>
  111. </indexterm>
  112. </listitem>
  113. </varlistentry>
  114. </variablelist>
  115. </sect2>
  116. </sect1>