Difference between revisions of "Berkeley DB"

From CBLFS
Jump to navigationJump to search
(Multilib)
(I added the package description from BLFS.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== Introduction to Berkley DB ==
 +
 +
The Berkeley DB package contains programs and utilities used by many other applications for database related functions.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 21:23, 4 December 2006

Download Source: http://download.oracle.com/berkeley-db/db-4.5.20.tar.gz

Introduction to Berkley DB

The Berkeley DB package contains programs and utilities used by many other applications for database related functions.

Dependencies

Optional

Non-Multilib

Compile the package:

cd build_unix &&
../dist/configure --prefix=/usr \
    --enable-compat185 --enable-cxx --enable-rpc &&
make

Install the package

make docdir=/usr/share/doc/db-4.5.20 install &&
chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* &&
chown -v root:root /usr/bin/berkeley_db_svc &&
chown -v -R root:root /usr/share/doc/db-4.5.20

Multilib

32Bit

Compile the package:

cd build_unix &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ../dist/configure --prefix=/usr \
    --enable-compat185 --enable-cxx --enable-rpc &&
make

Install the package

make docdir=/usr/share/doc/db-4.5.20 install &&
chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* &&
chown -v root:root /usr/bin/berkeley_db_svc &&
chown -v -R root:root /usr/share/doc/db-4.5.20

N32

Compile the package:

cd build_unix &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ../dist/configure --prefix=/usr \
    --libdir=/usr/lib32 --enable-compat185 --enable-cxx --enable-rpc &&
make

Install the package

make docdir=/usr/share/doc/db-4.5.20 install &&
chown -v root:root /usr/bin/db_* /usr/lib32/libdb* /usr/include/db* &&
chown -v root:root /usr/bin/berkeley_db_svc &&
chown -v -R root:root /usr/share/doc/db-4.5.20

64Bit

Compile the package:

cd build_unix &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ../dist/configure --prefix=/usr \
    --libdir=/usr/lib64 --enable-compat185 --enable-cxx --enable-rpc &&
make

Install the package

make docdir=/usr/share/doc/db-4.5.20 install &&
chown -v root:root /usr/bin/db_* /usr/lib64/libdb* /usr/include/db* &&
chown -v root:root /usr/bin/berkeley_db_svc &&
chown -v -R root:root /usr/share/doc/db-4.5.20