Adding Berkeley db-3.3.11, needed by GnuCash. Note that db-3.3.11 will

be added to the gnome/otherlibs section.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@471 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Billy O 'Connor 2002-12-15 05:19:37 +00:00
parent 3331743126
commit e056b9215a
7 changed files with 130 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<sect1 id="db-3.3.11" xreflabel="db-3.3.11">
<?dbhtml filename="db-3.3.11.html" dir="gnome"?>
<title>db-3.3.11-&db-3.3.11-version;</title>
&db-3.3.11-intro;
&db-3.3.11-inst;
&db-3.3.11-exp;
&db-3.3.11-config;
&db-3.3.11-desc;
</sect1>

View File

@ -0,0 +1,7 @@
<sect2>
<title>Configuring db-3.3.11</title>
&library-config;
</sect2>

View File

@ -0,0 +1,63 @@
<sect2>
<title>Contents</title>
<para>The db-3.3.11 package contains
<userinput>db_archive</userinput>,
<userinput>db_checkpoint</userinput>,
<userinput>db_deadlock</userinput>,
<userinput>db_dump</userinput>,
<userinput>db_load</userinput>,
<userinput>db_printlog</userinput>,
<userinput>db_recover</userinput>,
<userinput>db_stat</userinput>,
<userinput>db_upgrade</userinput> and
<userinput>db_verify</userinput>.
</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>db_archive</title>
<para>db_archive prints the pathnames of log files that are no longer
in use.</para></sect3>
<sect3><title>db_checkpoint</title>
<para>db_checkpoint is a daemon process uses to monitor and checkpoint
database logs.</para></sect3>
<sect3><title>db_deadlock</title>
<para>db_deadlock is used to abort lock requests when deadlocks are
detected.</para></sect3>
<sect3><title>db_dump</title>
<para>db_dump converts database files to a flat file format readable
by db_load.</para></sect3>
<sect3><title>db_load</title>
<para>db_load is used to create database files from flat files created
with db_dump.</para></sect3>
<sect3><title>db_printlog</title>
<para>db_printlog converts database log files to human readable
text.</para></sect3>
<sect3><title>db_recover</title>
<para>db_recover is used to restore a database to a consistent state
after a failure.</para></sect3>
<sect3><title>db_stat</title>
<para>db_stat displays database environment statistics.</para></sect3>
<sect3><title>db_upgrade</title>
<para>db_upgrade is used to upgrade database files to a newer version
of Berkeley DB.</para></sect3>
<sect3><title>db_verify</title>
<para>db_verify is used to run consistency checks on database files.</para></sect3>
</sect2>

View File

@ -0,0 +1,7 @@
<sect2>
<title>Command explanations</title>
<para><userinput>sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new:</userinput>
Change the DB185 database pointer to DB.</para>
</sect2>

View File

@ -0,0 +1,18 @@
<sect2>
<title>Installation of db-3.3.11</title>
<para>Install db-3.3.11 by running the following commands:</para>
<para><screen><userinput>
cd build_unix &amp;&amp;
../dist/configure --prefix=/usr --enable-compat185 \
--enable-static --enable-shared &amp;&amp;
make docdir=/usr/doc/Berkeley-DB all install &amp;&amp;
cd /usr/lib/ &amp;&amp;
ln -sf libdb-3.3.a libdb.a &amp;&amp;
sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new &amp;&amp;
mv /usr/include/db_185.h.new /usr/include/db_185.h
</userinput></screen></para>
</sect2>

View File

@ -0,0 +1,12 @@
<sect2>
<title>Introduction to db-3.3.11</title>
<screen>Download location (HTTP): <ulink url="&db-3.3.11-download-http;"/>
Download location (FTP): <ulink url="&db-3.3.11-download-ftp;"/>
Version used: &db-3.3.11-version;
Package size: &db-3.3.11-size;
Estimated Disk space required: &db-3.3.11-buildsize;</screen>
<para>The db-3.3.11 package contains vers 3.3.11 of the Berkeley Database.</para>
</sect2>

View File

@ -0,0 +1,11 @@
<!ENTITY db-3.3.11 SYSTEM "db-3.3.11.xml">
<!ENTITY db-3.3.11-intro SYSTEM "db-3.3.11-intro.xml">
<!ENTITY db-3.3.11-inst SYSTEM "db-3.3.11-inst.xml">
<!ENTITY db-3.3.11-exp SYSTEM "db-3.3.11-exp.xml">
<!ENTITY db-3.3.11-desc SYSTEM "db-3.3.11-desc.xml">
<!ENTITY db-3.3.11-config SYSTEM "db-3.3.11-config.xml">
<!ENTITY db-3.3.11-buildsize "19 MB">
<!ENTITY db-3.3.11-version "3.3.11">
<!ENTITY db-3.3.11-download-http "http://www.sleepycat.com/update/snapshot/db-3.3.11.tar.gz">
<!ENTITY db-3.3.11-download-ftp "">
<!ENTITY db-3.3.11-size "2.3 MB">