Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(Updates for gdbm 1.9.1)
m (updated to version 1.10 as in regular BLFS-book)
Line 17: Line 17:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --enable-libgdbm-compat &&
 
  make
 
  make
  
Line 30: Line 30:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-libgdbm-compat &&
 
  make
 
  make
  
Line 41: Line 41:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 --enable-libgdbm-compat &&
 
  make
 
  make
  
Line 52: Line 52:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 --enable-libgdbm-compat &&
 
  make
 
  make
  

Revision as of 08:47, 21 May 2013

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.
Caution.png

Note

Append --enable-libgdbm-compat configure option to build and install computability headers and libraries.

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-libgdbm-compat &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

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

Install the package

make  install

N32

Compile the package:

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

Install the package

make install

64Bit

Compile the package:

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

Install the package

make install

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=21530"