Linux From Scratch - Version 6.7

Chapter 6. Installing Basic System Software

6.31. GDBM-1.8.3

The GDBM package contains the GNU Database Manager. This is a disk
file format database which stores key/data-pairs in single files.
The actual data of any record being stored is indexed by a unique
key, which can be retrieved in less time than if it was stored in a
text file.

Approximate build time:0.1 SBU

Required disk space:2.7 MB

6.31.1. Installation of GDBM

Prepare GDBM for compilation:

./configure --prefix=/usr

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

In addition, install the DBM and NDBM compatibility headers, as
some packages outside of LFS may look for these older dbm routines:

make install-compat

Fix a minor installation issue by manually adding GDBM to the
info table of
contents: