[339baa5] | 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 |
|
---|
| 8 | <sect1 id="ch-system-gdbm" role="wrap">
|
---|
| 9 | <?dbhtml filename="gdbm.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>GDBM-&gdbm-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-gdbm">
|
---|
| 14 | <primary sortas="a-Gdbm">GDBM</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 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 |
|
---|
| 25 | </sect2>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="installation">
|
---|
| 28 | <title>Installation of GDBM</title>
|
---|
| 29 |
|
---|
| 30 | <para os="a">Prepare GDBM for compilation:</para>
|
---|
| 31 |
|
---|
| 32 | <screen os="b"><userinput>./configure --prefix=/usr --enable-libgdbm-compat</userinput></screen>
|
---|
| 33 |
|
---|
| 34 | <variablelist os="c">
|
---|
| 35 | <title>The meaning of the configure option:</title>
|
---|
| 36 |
|
---|
| 37 | <varlistentry>
|
---|
| 38 | <term><envar>--enable-libgdbm-compat</envar></term>
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>This switch enables the libgdbm compatibility library to be
|
---|
| 41 | built, as some packages outside of CLFS may rqeuire the older DBM
|
---|
| 42 | routines it provides.</para>
|
---|
| 43 | </listitem>
|
---|
| 44 | </varlistentry>
|
---|
| 45 | </variablelist>
|
---|
| 46 |
|
---|
| 47 | <para os="d">Compile the package:</para>
|
---|
| 48 |
|
---|
| 49 | <screen os="e"><userinput>make</userinput></screen>
|
---|
| 50 |
|
---|
| 51 | <para os="f">To test the results, issue:</para>
|
---|
| 52 |
|
---|
| 53 | <screen os="g"><userinput remap="test">make check</userinput></screen>
|
---|
| 54 |
|
---|
| 55 | <para os="h">Install the package:</para>
|
---|
| 56 |
|
---|
| 57 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2 id="contents-gdbm" role="content">
|
---|
| 62 | <title>Contents of GDBM</title>
|
---|
| 63 |
|
---|
| 64 | <segmentedlist>
|
---|
| 65 | <segtitle>Installed program</segtitle>
|
---|
| 66 | <segtitle>Installed libraries</segtitle>
|
---|
| 67 |
|
---|
| 68 | <seglistitem>
|
---|
[2b9d835] | 69 | <seg>gdbm_dump, gdbm_load, gdbmtool</seg>
|
---|
[339baa5] | 70 | <seg>libgdbm.{a,so} and libgdbm_compat.{a,so}</seg>
|
---|
| 71 | </seglistitem>
|
---|
| 72 | </segmentedlist>
|
---|
| 73 |
|
---|
| 74 | <variablelist>
|
---|
| 75 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 76 | <?dbfo list-presentation="list"?>
|
---|
| 77 | <?dbhtml list-presentation="table"?>
|
---|
| 78 |
|
---|
| 79 | <varlistentry id="gdbm_dump">
|
---|
| 80 | <term><command>gdbm_dump</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Dumps a GDBM database to a file.</para>
|
---|
| 83 | <indexterm zone="ch-system-gdbm gdbm_dump">
|
---|
| 84 | <primary sortas="b-gdbm_dump">gdbm_dump</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="gdbm_load">
|
---|
| 90 | <term><command>gdbm_load</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>Recreates a GDBM database from a dump file.</para>
|
---|
| 93 | <indexterm zone="ch-system-gdbm gdbm_load">
|
---|
| 94 | <primary sortas="b-gdbm_load">gdbm_load</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="gdbmtool">
|
---|
| 100 | <term><command>gdbmtool</command></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>Tests and modifies a GDBM database</para>
|
---|
| 103 | <indexterm zone="ch-system-gdbm gdbmtool">
|
---|
| 104 | <primary sortas="b-gdbmtool">gdbmtool</primary>
|
---|
| 105 | </indexterm>
|
---|
| 106 | </listitem>
|
---|
| 107 | </varlistentry>
|
---|
| 108 |
|
---|
| 109 | <varlistentry id="libgdbm">
|
---|
| 110 | <term><filename class="libraryfile">libgdbm</filename></term>
|
---|
| 111 | <listitem>
|
---|
| 112 | <para>Contains functions to manipulate a hashed database</para>
|
---|
| 113 | <indexterm zone="ch-system-gdbm libgdbm">
|
---|
| 114 | <primary sortas="c-libgdbm">libgdbm</primary>
|
---|
| 115 | </indexterm>
|
---|
| 116 | </listitem>
|
---|
| 117 | </varlistentry>
|
---|
| 118 |
|
---|
| 119 | <varlistentry id="libgdbm_compat">
|
---|
| 120 | <term><filename class="libraryfile">libgdbm_compat</filename></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>Compatibility library containing older DBM functions</para>
|
---|
| 123 | <indexterm zone="ch-system-gdbm libgdbm_compat">
|
---|
| 124 | <primary sortas="c-libgdbm_compat">libgdbm_compat</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
| 128 | </variablelist>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | </sect1>
|
---|