GDBM

From CBLFS
Revision as of 01:38, 25 December 2006 by Kalessin (talk | contribs) (I added a note about DESTDIR.)
Jump to navigationJump to search
Download Source: http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz

Introduction to GDBM

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.

Dependencies

Additional Configuration Options

Note to DESTDIR fans: Unfortunately gdbm ignores DESTDIR. However, it has the INSTALL_ROOT variable which does exactly the same thing. So, just use INSTALL_ROOT instead of DESTDIR.

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make BINOWN=root BINGRP=root install

You may need to install the DBM and NDBM compatibility headers and library since some applications look for these older dbm routines.

make BINOWN=root BINGRP=root install-compat

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make BINOWN=root BINGRP=root install

You may need to install the DBM and NDBM compatibility headers and library since some applications look for these older dbm routines.

make BINOWN=root BINGRP=root install-compat

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make BINOWN=root BINGRP=root install

You may need to install the DBM and NDBM compatibility headers and library since some applications look for these older dbm routines.

make BINOWN=root BINGRP=root install-compat

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make BINOWN=root BINGRP=root install

You may need to install the DBM and NDBM compatibility headers and library since some applications look for these older dbm routines.

make BINOWN=root BINGRP=root install-compat


Contents

Installed Programs: None
Installed Libraries: libgdbm.{a,la,so} and libgdbm_compat.{a,la,so}
Installed Directory: None

Short Descriptions

libgdbm.{so,a} contains functions to manipulate a hashed database.
Retrieved from "?title=GDBM&oldid=6300"