Berkeley DB
From CBLFS
Jump to navigationJump to searchDownload Source: | http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz |
---|
Contents
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-5.3.21 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-5.3.21
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-5.3.21 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-5.3.21
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-5.3.21 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-5.3.21
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-5.3.21 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-5.3.21