Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(Introduction to GDBM)
m
 
(6 intermediate revisions by 5 users not shown)
Line 6: Line 6:
  
 
----
 
----
 +
{{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/}}
  
== Introduction to GDBM ==
+
== Configuration Information ==
  
<Package Description Needed>
+
{{Note|GDBM does not use ''DESTDIR'', it uses ''INSTALL_ROOT'' instead. Just use ''INSTALL_ROOT'' as you would ''DESTDIR''.}}
 
+
{{Note|Appending --enable-libgdbm-compat configure option as shown will build and install computability headers and libraries.}}
== 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 ==
 
== Non-Multilib ==
Line 21: Line 17:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --enable-libgdbm-compat &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make BINOWN=root BINGRP=root install
+
  make 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 ==
 
== Multilib ==
Line 38: 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
  
 
Install the package
 
Install the package
  
  make BINOWN=root BINGRP=root install
+
  make  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 ===
 
=== N32 ===
Line 53: 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
  
 
Install the package
 
Install the package
  
  make BINOWN=root BINGRP=root install
+
  make 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 ===
 
=== 64Bit ===
Line 68: 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
  
 
Install the package
 
Install the package
  
  make BINOWN=root BINGRP=root install
+
  make 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 =
 
= Contents =
Line 101: Line 80:
 
| contains functions to manipulate a hashed database.
 
| contains functions to manipulate a hashed database.
 
|}
 
|}
 +
 +
[[Category:General Libs]]

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.