Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(I added a note about DESTDIR.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://ftp.gnu.org/gnu/gdbm/gdbm-{{GDBM-Version}}.tar.gz
 
| http://ftp.gnu.org/gnu/gdbm/gdbm-{{GDBM-Version}}.tar.gz
Line 12: Line 12:
  
 
== Dependencies ==
 
== 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 81: Line 85:
 
|-valign="top"
 
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
| libgdbm.{so,a} and libgdbm_compat.{so,a}
+
| None
 
|-valign="top"
 
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
| None
+
| libgdbm.{a,la,so} and libgdbm_compat.{a,la,so}
 
|-valign="top"
 
|-valign="top"
 
! Installed Directory:
 
! Installed Directory:

Revision as of 01:38, 25 December 2006

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

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.

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.
Retrieved from "?title=GDBM&oldid=6300"