Berkeley DB
From CBLFS
Revision as of 11:18, 3 October 2006 by Jciccone (talk | contribs) (Berkely DB moved to Berkeley DB)
Download Source: | http://download.oracle.com/berkeley-db/db-4.5.20.tar.gz |
---|
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/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
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/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