%general-entities; ]> DB-&db-version; Berkeley DB <para>The DB package contains programs and utilities used by many other applications for database related functions.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>1.0 SBU</seg><seg>74 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>&dependencies;</segtitle> <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make and Sed.</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of DB Prepare DB for compilation: cd build_unix && ../dist/configure --prefix=/usr --enable-compat185 --enable-cxx The meaning of the configure options: --enable-compat185 This option enables building DB 1.85 compatibility API. --enable-cxx This option enables building C++ API libraries. Compile the package: make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" The meaning of the make option: LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" These variables work around a bug in the configure script that causes the DB libraries not to link against NPTL libraries It is not possible to test the package meaningfully, because that would involve building TCL bindings. TCL bindings cannot be built properly now because TCL is linked against Glibc in /tools, not against Glibc in /usr. Install the package: make docdir=/usr/share/doc/db-&db-version; install The meaning of the make option: docdir=... This variable specifies the correct place for the documentation. Fix the permissions on the installed documentation files: chown root:root /usr/bin/db_* \ /usr/lib/libdb* /usr/include/db* && chown -R root:root /usr/share/doc/db-&db-version; Contents of DB Installed programs db_archive, db_checkpoint, db_deadlock, db_dump, db_hotbackup, db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify Installed libraries libdb.[so,a] and libdb_cxx.[so,a] Short Descriptions db_archive Prints the pathnames of log files that are no longer in use db_archive db_checkpoint A daemon used to monitor and checkpoint database logs db_checkpoint db_deadlock A daemon used to abort lock requests when deadlocks are detected db_deadlock db_dump Converts database files to a plain-text file format readable by db_load db_dump db_hotbackup Creates hot backup or hot failover snapshots of Berkeley DB databases db_hotbackup db_load Is used to create database files from plain-text files db_load db_printlog Converts database log files to human readable text db_printlog db_recover Is used to restore a database to a consistent state after a failure db_recover db_stat Displays statistics for Berkeley databases db_stat db_upgrade Is used to upgrade database files to a newer version of Berkeley DB db_upgrade db_verify Is used to run consistency checks on database files db_verify libdb.[so,a] Contains functions to manipulate database files from C programs libdb libdb_cxx.[so,a] Contains functions to manipulate database files from C++ programs libdb_cxx