source: BOOK/final-system/common/gdbm.xml@ c7477f8e

sysvinit
Last change on this file since c7477f8e was b27081c4, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 4.1 KB
Line 
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 \
33 --prefix=/usr \
34 --enable-libgdbm-compat</userinput></screen>
35
36 <variablelist os="c">
37 <title>The meaning of the configure option:</title>
38
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 CLFS may require the older DBM
44 routines it provides.</para>
45 </listitem>
46 </varlistentry>
47 </variablelist>
48
49 <para os="d">Compile the package:</para>
50
51<screen os="e"><userinput>make</userinput></screen>
52
53 <para os="f">To test the results, issue:</para>
54
55<screen os="g"><userinput remap="test">make check</userinput></screen>
56
57 <para os="h">Install the package:</para>
58
59<screen os="i"><userinput>make install</userinput></screen>
60
61 </sect2>
62
63 <sect2 id="contents-gdbm" role="content">
64 <title>Contents of GDBM</title>
65
66 <segmentedlist>
67 <segtitle>Installed programs</segtitle>
68 <segtitle>Installed libraries</segtitle>
69
70 <seglistitem>
71 <seg>gdbm_dump, gdbm_load, gdbmtool</seg>
72 <seg>libgdbm.{a,so}, libgdbm_compat.{a,so}</seg>
73 </seglistitem>
74 </segmentedlist>
75
76 <variablelist>
77 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
78 <?dbfo list-presentation="list"?>
79 <?dbhtml list-presentation="table"?>
80
81 <varlistentry id="gdbm_dump">
82 <term><command>gdbm_dump</command></term>
83 <listitem>
84 <para>Dumps a GDBM database to a file.</para>
85 <indexterm zone="ch-system-gdbm gdbm_dump">
86 <primary sortas="b-gdbm_dump">gdbm_dump</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 <varlistentry id="gdbm_load">
92 <term><command>gdbm_load</command></term>
93 <listitem>
94 <para>Recreates a GDBM database from a dump file.</para>
95 <indexterm zone="ch-system-gdbm gdbm_load">
96 <primary sortas="b-gdbm_load">gdbm_load</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry id="gdbmtool">
102 <term><command>gdbmtool</command></term>
103 <listitem>
104 <para>Tests and modifies a GDBM database</para>
105 <indexterm zone="ch-system-gdbm gdbmtool">
106 <primary sortas="b-gdbmtool">gdbmtool</primary>
107 </indexterm>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry id="libgdbm">
112 <term><filename class="libraryfile">libgdbm</filename></term>
113 <listitem>
114 <para>Contains functions to manipulate a hashed database</para>
115 <indexterm zone="ch-system-gdbm libgdbm">
116 <primary sortas="c-libgdbm">libgdbm</primary>
117 </indexterm>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry id="libgdbm_compat">
122 <term><filename class="libraryfile">libgdbm_compat</filename></term>
123 <listitem>
124 <para>Compatibility library containing older DBM functions</para>
125 <indexterm zone="ch-system-gdbm libgdbm_compat">
126 <primary sortas="c-libgdbm_compat">libgdbm_compat</primary>
127 </indexterm>
128 </listitem>
129 </varlistentry>
130 </variablelist>
131
132 </sect2>
133
134</sect1>
Note: See TracBrowser for help on using the repository browser.