Difference between revisions of "Berkeley DB"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://download.oracle.com/berkeley-db/db- | + | | http://download.oracle.com/berkeley-db/db-{{Berkeley DB-Version}}.tar.gz |
|} | |} | ||
Line 29: | Line 29: | ||
Install the package | Install the package | ||
− | make docdir=/usr/share/doc/db- | + | make docdir=/usr/share/doc/db-{{Berkeley DB-Version}} install && |
chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* && | chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* && | ||
chown -v root:root /usr/bin/berkeley_db_svc && | chown -v root:root /usr/bin/berkeley_db_svc && | ||
− | chown -v -R root:root /usr/share/doc/db- | + | chown -v -R root:root /usr/share/doc/db-{{Berkeley DB-Version}} |
== Multilib == | == Multilib == | ||
Line 47: | Line 47: | ||
Install the package | Install the package | ||
− | make docdir=/usr/share/doc/db- | + | make docdir=/usr/share/doc/db-{{Berkeley DB-Version}} install && |
chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* && | chown -v root:root /usr/bin/db_* /usr/lib/libdb* /usr/include/db* && | ||
chown -v root:root /usr/bin/berkeley_db_svc && | chown -v root:root /usr/bin/berkeley_db_svc && | ||
− | chown -v -R root:root /usr/share/doc/db- | + | chown -v -R root:root /usr/share/doc/db-{{Berkeley DB-Version}} |
=== N32 === | === N32 === | ||
Line 63: | Line 63: | ||
Install the package | Install the package | ||
− | make docdir=/usr/share/doc/db- | + | make docdir=/usr/share/doc/db-{{Berkeley DB-Version}} install && |
chown -v root:root /usr/bin/db_* /usr/lib32/libdb* /usr/include/db* && | chown -v root:root /usr/bin/db_* /usr/lib32/libdb* /usr/include/db* && | ||
chown -v root:root /usr/bin/berkeley_db_svc && | chown -v root:root /usr/bin/berkeley_db_svc && | ||
− | chown -v -R root:root /usr/share/doc/db- | + | chown -v -R root:root /usr/share/doc/db-{{Berkeley DB-Version}} |
=== 64Bit === | === 64Bit === | ||
Line 79: | Line 79: | ||
Install the package | Install the package | ||
− | make docdir=/usr/share/doc/db- | + | make docdir=/usr/share/doc/db-{{Berkeley DB-Version}} install && |
chown -v root:root /usr/bin/db_* /usr/lib64/libdb* /usr/include/db* && | chown -v root:root /usr/bin/db_* /usr/lib64/libdb* /usr/include/db* && | ||
chown -v root:root /usr/bin/berkeley_db_svc && | chown -v root:root /usr/bin/berkeley_db_svc && | ||
− | chown -v -R root:root /usr/share/doc/db- | + | chown -v -R root:root /usr/share/doc/db-{{Berkeley DB-Version}} |
Revision as of 16:11, 17 December 2006
Download 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