source: chapter06/gdbm.xml@ c5be634

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since c5be634 was c5be634, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Update several URLs in Chapter 3.
Fix typo in Chapter 5, libstdc++.
Removed obsolete reference to acinstall in automake section.
Removed obsolete reference to sbu home page in Chapter 4.
Update installed programs for gdbm.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.5 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 <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 --enable-libgdbm-compat</userinput></screen>
49
50 <variablelist>
51 <title>The meaning of the configure option:</title>
52
53 <varlistentry>
54 <term><envar>--enable-libgdbm-compat</envar></term>
55 <listitem>
56 <para>This switch enables the libgdbm compatibility library to be
57 built, as some packages outside of LFS may require the older DBM
58 routines it provides.</para>
59 </listitem>
60 </varlistentry>
61 </variablelist>
62
63 <para>Compile the package:</para>
64
65<screen><userinput remap="make">make</userinput></screen>
66
67 <para>To test the results, issue:</para>
68
69<screen><userinput remap="test">make check</userinput></screen>
70
71 <para>Install the package:</para>
72
73<screen><userinput remap="install">make install</userinput></screen>
74
75 </sect2>
76
77 <sect2 id="contents-gdbm" role="content">
78 <title>Contents of GDBM</title>
79
80 <segmentedlist>
81 <segtitle>Installed program</segtitle>
82 <segtitle>Installed libraries</segtitle>
83
84 <seglistitem>
85 <seg>gdbm_dump, gdbm_load, and gdbmtool</seg>
86 <seg>libgdbm.{a,so} and libgdbm_compat.{a,so}</seg>
87 </seglistitem>
88 </segmentedlist>
89
90 <variablelist>
91 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
92 <?dbfo list-presentation="list"?>
93 <?dbhtml list-presentation="table"?>
94
95 <varlistentry id="gdbm_dump">
96 <term><command>gdbm_dump</command></term>
97 <listitem>
98 <para>Dumps a GDBM database to a file.</para>
99 <indexterm zone="ch-system-gdbm gdbm_dump">
100 <primary sortas="b-gdbm_dump">gdbm_dump</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="gdbm_load">
106 <term><command>gdbm_load</command></term>
107 <listitem>
108 <para>Recreates a GDBM database from a dump file.</para>
109 <indexterm zone="ch-system-gdbm gdbm_load">
110 <primary sortas="b-gdbm_load">gdbm_load</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 <varlistentry id="gdbmtool">
116 <term><command>gdbmtool</command></term>
117 <listitem>
118 <para>Tests and modifies a GDBM database</para>
119 <indexterm zone="ch-system-gdbm gdbmtool">
120 <primary sortas="b-gdbmtool">gdbmtool</primary>
121 </indexterm>
122 </listitem>
123 </varlistentry>
124
125 <varlistentry id="libgdbm">
126 <term><filename class="libraryfile">libgdbm</filename></term>
127 <listitem>
128 <para>Contains functions to manipulate a hashed database</para>
129 <indexterm zone="ch-system-gdbm libgdbm">
130 <primary sortas="c-libgdbm">libgdbm</primary>
131 </indexterm>
132 </listitem>
133 </varlistentry>
134
135 <varlistentry id="libgdbm_compat">
136 <term><filename class="libraryfile">libgdbm_compat</filename></term>
137 <listitem>
138 <para>Compatibility library containing older DBM functions</para>
139 <indexterm zone="ch-system-gdbm libgdbm_compat">
140 <primary sortas="c-libgdbm_compat">libgdbm_compat</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 </variablelist>
146
147 </sect2>
148
149</sect1>
Note: See TracBrowser for help on using the repository browser.