This chapter includes databases that range from single-user read/write to industrial database servers with transaction support. Generally, you will be sent here to satisfy dependencies to other applications although building a SQL server on a base LFS system is entirely possible.
The Berkeley DB package contains programs and utilities used by many other applications for database related functions.
Download (HTTP): http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz
Download size: 4 MB
Estimated Disk space required: 43 MB
Estimated build time: 1.22 SBU
Required Patch: http://www.sleepycat.com/update/4.2.52/patch.126.96.36.199
Required Patch: http://www.sleepycat.com/update/4.2.52/patch.188.8.131.52
Install Berkeley DB by running the following commands:
patch -Np0 -i ../patch.184.108.40.206 && patch -Np0 -i ../patch.220.127.116.11 && cd build_unix && ../dist/configure --prefix=/usr \ --enable-compat185 \ --enable-cxx && make && make docdir=/usr/share/doc/db-18.104.22.168 install
If you wish to enable Java support in Berkeley DB-22.214.171.124, add --enable-java to the configure options. This requires a Java compiler. Java support is needed if you plan to use system installed Berkeley DB when compiling OpenOffice-1.1.1.
cd build_unix && ../dist/configure --prefix=/usr --enable-compat185: This replaces the normal ./configure command, as Berkeley DB comes with various build directories for different platforms.
make docdir=/usr/share/doc/db-126.96.36.199 install: This installs the documentation in the correct place.
The Berkeley DB package contains db_archive, db_checkpoint, db_deadlock, db_dump, db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify.