Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(Updates for gdbm 1.9.1)
m
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
{{Note|GDBM does not use ''DESTDIR'', it uses ''INSTALL_ROOT'' instead.  Just use ''INSTALL_ROOT'' as you would ''DESTDIR''.}}
 
{{Note|GDBM does not use ''DESTDIR'', it uses ''INSTALL_ROOT'' instead.  Just use ''INSTALL_ROOT'' as you would ''DESTDIR''.}}
{{Note|Append --enable-libgdbm-compat configure option to build and install computability headers and libraries.}}
+
{{Note|Appending --enable-libgdbm-compat configure option as shown will build and install computability headers and libraries.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
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
  

Latest revision as of 09:48, 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

Appending --enable-libgdbm-compat configure option as shown will 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.