r3174 - in trunk/BOOK: content/databases introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Jan 2 15:03:14 PST 2005


Author: randy
Date: 2005-01-02 16:03:12 -0700 (Sun, 02 Jan 2005)
New Revision: 3174

Modified:
   trunk/BOOK/content/databases/db-3.3.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added parameters to the make command in the DB-3 instructions to properly link the pthread library

Modified: trunk/BOOK/content/databases/db-3.3.xml
===================================================================
--- trunk/BOOK/content/databases/db-3.3.xml	2005-01-02 17:14:39 UTC (rev 3173)
+++ trunk/BOOK/content/databases/db-3.3.xml	2005-01-02 23:03:12 UTC (rev 3174)
@@ -8,7 +8,7 @@
   <!ENTITY db-3.3-download-ftp  "ftp://sleepycat1.inetu.net/releases/db-&db-3.3-version;.tar.gz">
   <!ENTITY db-3.3-size          "2.3 MB">
   <!ENTITY db-3.3-buildsize     "27.5 MB">
-  <!ENTITY db-3.3-time          "0.80 SBU">
+  <!ENTITY db-3.3-time          "0.63 SBU">
 ]>
 
 <sect1 id="db-3.3" xreflabel="Berkeley DB-&db-3.3-version;">
@@ -20,7 +20,8 @@
 <title>Berkeley DB-&db-3.3-version;</title>
 
 <sect2>
-<title>Introduction to <application>Berkeley DB</application>-&db-3.3-version;</title>
+<title>Introduction to 
+<application>Berkeley DB</application>-&db-3.3-version;</title>
 
 <para>The <application>Berkeley DB</application> package contains version 
 &db-3.3-version; of the Berkeley Database.</para>
@@ -32,7 +33,7 @@
 <listitem><para>Download (FTP): <ulink
 url="&db-3.3-download-ftp;"/></para></listitem>
 <listitem><para>Download size: &db-3.3-size;</para></listitem>
-<listitem><para>Estimated Disk space required:
+<listitem><para>Estimated disk space required:
 &db-3.3-buildsize;</para></listitem>
 <listitem><para>Estimated build time:
 &db-3.3-time;</para></listitem></itemizedlist>
@@ -41,24 +42,27 @@
 <sect3><title>Additional downloads</title>
 <itemizedlist spacing='compact'>
 <listitem><para>Required Patch: <ulink
-url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.1"/></para></listitem>
+url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.1"/>
+</para></listitem>
 <listitem><para>Recommended Patch: <ulink
-url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.2"/></para></listitem>
-</itemizedlist></sect3>
+url="http://www.sleepycat.com/update/&db-3.3-version;/patch.&db-3.3-version;.2"/>
+</para></listitem>
+</itemizedlist>
+</sect3>
 
 </sect2>
 
 <sect2>
 <title>Installation of <application>Berkeley DB</application></title>
 
-<para>Install <application>Berkeley DB</application> by running the following commands:
-</para>
+<para>Install <application>Berkeley DB</application> by running the following 
+commands:</para>
 
 <screen><userinput><command>patch -Np0 -i ../patch.&db-3.3-version;.1 &&
 patch -Np0 -i ../patch.&db-3.3-version;.2 &&
 cd build_unix &&
 ../dist/configure --prefix=/opt/db-3.3 --enable-compat185 &&
-make &&
+make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread" &&
 make docdir=/opt/db-3.3/doc/Berkeley-DB install &&
 cd /opt/db-3.3/lib/ &&
 mv libdb.so .. &&
@@ -67,7 +71,8 @@
 cd /opt/db-3.3/include/ &&
 sed -i 's/^DB185/DB/' db_185.h &&
 ln -nsf /opt/db-3.3/include /usr/include/db3 &&
-chown -R root:root /opt/db-3.3/doc</command></userinput></screen>
+chmod 755 /usr/lib/libdb-3.3.so &&
+chown -R root:root /opt/db-3.3/{bin,include,doc}</command></userinput></screen>
 
 </sect2>
 
@@ -90,8 +95,8 @@
 <para><command>sed -i 's/^DB185/DB/' db_185.h</command>: Change the DB185 
 database pointer to DB.</para>
 
-<para><command>chown -R root:root /opt/db-3.3/doc</command>: This command 
-corrects the improper ownership of documentation files.</para>
+<para><command>chown -R root:root /opt/db-3.3/{bin,include,doc}</command>: 
+This command corrects the improper ownership of installed files.</para>
 
 </sect2>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-01-02 17:14:39 UTC (rev 3173)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-01-02 23:03:12 UTC (rev 3174)
@@ -24,7 +24,9 @@
 
 <listitem><para>January 2nd, 2005 [randy]: Added commands to Imlib2 
 instructions to install documentation, suggested by David 
-Jensen; updated GNOME Print-0.37 instructions.</para></listitem>
+Jensen; updated GNOME Print-0.37 instructions; added parameters to the 
+make command in the DB-3 instructions to properly link the 
+pthread library.</para></listitem>
 
 <listitem><para>January 1st, 2005 [randy]: Added LWP, Date::Manip and 
 Finance::Quote Perl modules (dependencies of GnuCash); added FTP download 




More information about the blfs-book mailing list