Difference between revisions of "Berkeley DB"
From CBLFS
Jump to navigationJump to search (→Optional) |
(→Non-Multilib) |
||
Line 20: | Line 20: | ||
cd build_unix && | cd build_unix && | ||
../dist/configure --prefix=/usr \ | ../dist/configure --prefix=/usr \ | ||
− | --enable-compat185 --enable-cxx --enable-rpc | + | --enable-compat185 --enable-cxx --enable-rpc && |
+ | make | ||
Install the package | Install the package |
Revision as of 02:55, 3 October 2006
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