[08d48c5] | 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 | <sect1info condition="script">
|
---|
| 12 | <productname>gdbm</productname>
|
---|
| 13 | <productnumber>&gdbm-version;</productnumber>
|
---|
| 14 | <address>&gdbm-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>GDBM-&gdbm-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-gdbm">
|
---|
| 20 | <primary sortas="a-Gdbm">GDBM</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The GDBM package contains the GNU Database Manager. This is a disk
|
---|
| 27 | file format database which stores key/data-pairs in single files. The
|
---|
| 28 | actual data of any record being stored is indexed by a unique key, which can
|
---|
| 29 | be retrieved in less time than if it was stored in a text file.</para>
|
---|
| 30 |
|
---|
| 31 | <segmentedlist>
|
---|
| 32 | <segtitle>&buildtime;</segtitle>
|
---|
| 33 | <segtitle>&diskspace;</segtitle>
|
---|
| 34 |
|
---|
| 35 | <seglistitem>
|
---|
| 36 | <seg>&gdbm-ch6-sbu;</seg>
|
---|
| 37 | <seg>&gdbm-ch6-du;</seg>
|
---|
| 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
| 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of GDBM</title>
|
---|
| 45 |
|
---|
| 46 | <para>Prepare GDBM for compilation:</para>
|
---|
| 47 |
|
---|
| 48 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
| 49 |
|
---|
| 50 | <para>Compile the package:</para>
|
---|
| 51 |
|
---|
| 52 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | <para>This package does not come with a test suite.</para>
|
---|
| 55 |
|
---|
| 56 | <para>Install the package:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <para>In addition, install the DBM and NDBM compatibility headers, as some
|
---|
| 61 | packages outside of LFS may look for these older dbm routines:</para>
|
---|
| 62 |
|
---|
| 63 | <screen><userinput remap="install">make install-compat</userinput></screen>
|
---|
| 64 |
|
---|
[03b1297] | 65 | <para>Fix a minor installation issue by manually adding GDBM to the
|
---|
| 66 | <command>info</command> table of contents:</para>
|
---|
| 67 |
|
---|
| 68 | <screen><userinput remap="install">install-info --dir-file=/usr/info/dir /usr/info/gdbm.info</userinput></screen>
|
---|
| 69 |
|
---|
[08d48c5] | 70 | </sect2>
|
---|
| 71 |
|
---|
| 72 | <sect2 id="contents-gdbm" role="content">
|
---|
| 73 | <title>Contents of GDBM</title>
|
---|
| 74 |
|
---|
| 75 | <segmentedlist>
|
---|
| 76 | <segtitle>Installed libraries</segtitle>
|
---|
| 77 |
|
---|
| 78 | <seglistitem>
|
---|
| 79 | <seg>libgdbm.{so,a} and libgdbm_compat.{so,a}</seg>
|
---|
| 80 | </seglistitem>
|
---|
| 81 | </segmentedlist>
|
---|
| 82 |
|
---|
| 83 | <variablelist>
|
---|
| 84 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 85 | <?dbfo list-presentation="list"?>
|
---|
| 86 | <?dbhtml list-presentation="table"?>
|
---|
| 87 |
|
---|
| 88 | <varlistentry id="libgdbm">
|
---|
| 89 | <term><filename class="libraryfile">libgdbm</filename></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>Contains functions to manipulate a hashed database</para>
|
---|
| 92 | <indexterm zone="ch-system-gdbm libgdbm">
|
---|
| 93 | <primary sortas="c-libgdbm">libgdbm</primary>
|
---|
| 94 | </indexterm>
|
---|
| 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 |
|
---|
| 98 | </variablelist>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | </sect1>
|
---|