Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(I added a note about DESTDIR.)
(Introduction to GDBM)
Line 9: Line 9:
 
== Introduction to GDBM ==
 
== 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.
+
<Package Description Needed>
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 22:48, 11 January 2007

Download Source: http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz

Introduction to GDBM

<Package Description Needed>

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.