Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(Formatting)
Line 8: Line 8:
 
{{Package-Introduction|GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard Unix dbm routines.|http://www.gnu.org/software/gdbm/}}
 
{{Package-Introduction|GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard Unix dbm routines.|http://www.gnu.org/software/gdbm/}}
  
== Dependencies ==
+
== Configuration Information ==
  
== Additional Configuration Options ==
+
{{Note|GDBM does not use ''DESTDIR'', it uses ''INSTALL_ROOT'' instead. Just use ''INSTALL_ROOT'' as you would ''DESTDIR''.}}
 
 
'''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 ==
 
== Non-Multilib ==

Revision as of 08:33, 18 February 2008

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

Introduction to GDBM

GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard Unix dbm routines.

Project Homepage: http://www.gnu.org/software/gdbm/

Configuration Information

Caution.png

Note

GDBM does not use DESTDIR, it uses INSTALL_ROOT instead. Just use INSTALL_ROOT as you would 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.