Difference between revisions of "GDBM"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
m
 
(10 intermediate revisions by 7 users not shown)
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-1.8.3.tar.gz
+
| http://ftp.gnu.org/gnu/gdbm/gdbm-{{GDBM-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
{{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 ==
  
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.
+
{{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 ==
 
  
 
== 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
  
 
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 34: 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 49: 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 64: 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 =
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
|-
+
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
| libgdbm.{so,a} and libgdbm_compat.{so,a}
+
| None
|-
+
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
| ???
+
| libgdbm.{a,la,so} and libgdbm_compat.{a,la,so}
|-
+
|-valign="top"
 
! Installed Directory:
 
! Installed Directory:
 
| None
 
| None
Line 93: Line 76:
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
|-
+
|-valign="top"
 
! libgdbm.{so,a}
 
! libgdbm.{so,a}
 
| contains functions to manipulate a hashed database.
 
| contains functions to manipulate a hashed database.
 
|}
 
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 08: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.
Retrieved from "?title=GDBM&oldid=21531"