From 54e422c1d96d41a9fbc8938962b9cb0f1e087e94 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 3 Feb 2006 20:54:03 +0000 Subject: Indenting chapter 6, part 4 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7340 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/db.xml | 424 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 242 insertions(+), 182 deletions(-) (limited to 'chapter06/db.xml') diff --git a/chapter06/db.xml b/chapter06/db.xml index b133a254d..5bd81d27b 100644 --- a/chapter06/db.xml +++ b/chapter06/db.xml @@ -1,218 +1,278 @@ - %general-entities; ]> + -Berkeley DB-&db-version; - + + + Berkeley DB-&db-version; + + + Berkeley DB + + + + -<indexterm zone="ch-system-db"><primary sortas="a-Berkeley-DB">Berkeley DB</primary></indexterm> + <para>The Berkeley DB package contains programs and utilities used by many + other applications for database related functions.</para> -<sect2 role="package"><title/> -<para>The Berkeley DB package contains programs and utilities used by many other -applications for database related functions.</para> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>1.2 SBU</seg><seg>78 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>1.2 SBU</seg> + <seg>78 MB</seg> + </seglistitem> + </segmentedlist> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Bash, Binutils, Coreutils, -Diffutils, GCC, Glibc, Make and Sed.</seg></seglistitem> -</segmentedlist> + <segmentedlist> + <segtitle>&dependencies;</segtitle> -<tip> -<title>Extra functionality for Berkeley DB in BLFS -There are instructions to build this package in the BLFS book if you need to build the RPC server or additional language bindings. The -additional language bindings will require additional packages to be -installed. The BLFS instructions are located at - -for suggested installation instructions. - + + Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make and Sed. + + - + + Extra functionality for Berkeley DB in BLFS - -Installation of Berkeley DB + There are instructions to build this package in the BLFS + book if you need to build the RPC server or additional language + bindings. The additional language bindings will require additional + packages to be installed. The BLFS instructions are located at + for + suggested installation instructions. + -Prepare Berkeley DB for compilation: + + + + Installation of Berkeley DB + + Prepare Berkeley DB for compilation: cd build_unix && ../dist/configure --prefix=/usr --enable-compat185 --enable-cxx -The meaning of the configure options: + + The meaning of the configure options: - - ---enable-compat185 -This option enables building Berkeley DB 1.85 compatibility API. - + + --enable-compat185 + + This option enables building Berkeley DB 1.85 compatibility + API. + + - ---enable-cxx -This option enables building C++ API libraries. - - + + --enable-cxx + + This option enables building C++ API libraries. + + -Compile the package: + + + Compile the package: make -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. + 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: + Install the package: make docdir=/usr/share/doc/db-&db-version; install -The meaning of the make option: + + The meaning of the make parameter: + + + docdir=... + + This variable specifies the correct place for the + documentation. + + - - -docdir=... -This variable specifies the correct place for the documentation. - - + -Fix the ownerships of the installed files: + Fix the ownerships of the installed 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 Berkeley 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 - - - - - + + + + Contents of Berkeley DB + + + Installed programs + Installed libraries + + + db_archive, db_checkpoint, db_deadlock, db_dump, db_hotbackup, + db_load, db_printlog, db_recover, db_stat, db_upgrade, and db_verify + 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 + + + + + + + -- cgit v1.2.3-54-g00ecf