r4637 - in trunk/BOOK: introduction/welcome server/databases

djensen at linuxfromscratch.org djensen at linuxfromscratch.org
Mon Jun 20 11:02:21 PDT 2005


Author: djensen
Date: 2005-06-20 12:02:21 -0600 (Mon, 20 Jun 2005)
New Revision: 4637

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/databases/db.xml
Log:
DB-4.3.27 test/build separation

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-06-20 07:08:15 UTC (rev 4636)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-06-20 18:02:21 UTC (rev 4637)
@@ -25,11 +25,16 @@
   <itemizedlist>
 
     <listitem>
+      <para>Jun 20th, 2005 [djensen]: Separated the DB-4.3.27 test from
+      the build, they are not compatible.</para>
+    </listitem>
+
+     <listitem>
       <para>Jun 20th, 2005 [dj]: Added missing required patch to dhcp
       instructions.</para>
     </listitem>
 
-    <listitem>
+   <listitem>
       <para>June 19th, 2005 [djensen]: Changed links to t1lib-5.1.0 and
 	  mcript link to mcrypt.sourceforge.net/</para>
     </listitem>

Modified: trunk/BOOK/server/databases/db.xml
===================================================================
--- trunk/BOOK/server/databases/db.xml	2005-06-20 07:08:15 UTC (rev 4636)
+++ trunk/BOOK/server/databases/db.xml	2005-06-20 18:02:21 UTC (rev 4637)
@@ -65,6 +65,9 @@
   <sect2 role="installation">
     <title>Installation of Berkeley DB</title>
 
+    <para>If you wish to test <application>Berkeley DB</application> before
+    installing, skip ahead to testing, then return here.</para>
+
     <para>Install <application>Berkeley DB</application> by running the
     following commands:</para>
 
@@ -74,11 +77,6 @@
     --enable-cxx &&
 make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</userinput></screen>
 
-    <para>To test the results, start <command>tclsh</command> and issue:</para>
-
-<screen><userinput>source ../test/test.tcl
-run_parallel run_std</userinput></screen>
-
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make docdir=/usr/share/doc/db-&db-version; install &&
@@ -88,6 +86,34 @@
 
   </sect2>
 
+  <sect2 role="testing">
+    <title>Testing Berkeley DB</title>
+
+    <para>If you have already built <application>Berkeley DB</application>,
+    clean up with the following command:</para>
+
+<screen><userinput>make realclean</userinput></screen>
+
+    <para>Build for the <application>Berkeley DB</application> test by running
+    the following commands:</para>
+
+<screen><userinput>cd build_unix &&
+../dist/configure --prefix=/usr \
+    --enable-test --enable-tcl --with-tcl=/usr/lib &&
+make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</userinput></screen>
+
+    <para>To test the results, start <command>tclsh</command> and issue the
+    following, replacing the 4 with the number of parallel processes you wish:</para>
+
+<screen><userinput>source ../test/test.tcl
+run_parallel 4 run_std</userinput></screen>
+
+    <para>Clean up with the following command:</para>
+
+<screen><userinput>make realclean</userinput></screen>
+
+  </sect2>
+
   <sect2 role="commands">
     <title>Command Explanations</title>
 
@@ -103,29 +129,29 @@
     <para><parameter>--enable-cxx</parameter>: This switch enables building
     C++ API libraries.</para>
 
-    <para><command>make LIBSO_LIBS="-lpthread"
-    LIBXSO_LIBS="-lpthread"</command>: <command>configure</command>
-    does not correctly handle NPTL. These variables force it to
-    properly link against NPTL.</para>
-
-    <para><command>make docdir=/usr/share/doc/db-&db-version;
-    install</command>: This installs the documentation in
-    the correct place.</para>
-
-    <para><option>--enable-test</option>: Enables building the test suite
+    <para><parameter>--enable-test</parameter>: Enables building the test suite
     (requires the two Tcl switches below).</para>
 
-    <para><option>--enable-tcl --with-tcl=/usr/lib</option>:
+    <para><parameter>--enable-tcl --with-tcl=/usr/lib</parameter>:
     Enables <application>Tcl</application> support in DB and creates the
     <filename class="libraryfile">libdb_tcl</filename> libraries.</para>
 
-    <para><option>--enable-java</option>: Enables
+    <para><parameter>--enable-java</parameter>: Enables
     <application>Java</application> support in DB and creates the
     <filename class='libraryfile'>libdb_java</filename> libraries.</para>
 
-    <para><option>--enable-rpc</option>: Enables building the
+    <para><parameter>--enable-rpc</parameter>: Enables building the
     <application>Berkeley DB</application> RPC server.</para>
 
+    <para><command>make LIBSO_LIBS="-lpthread"
+    LIBXSO_LIBS="-lpthread"</command>: <command>configure</command>
+    does not correctly handle NPTL. These variables force it to
+    properly link against NPTL.</para>
+
+    <para><command>make docdir=/usr/share/doc/db-&db-version;
+    install</command>: This installs the documentation in
+    the correct place.</para>
+
   </sect2>
 
   <sect2 role="content">
@@ -137,8 +163,9 @@
       <segtitle>Installed Directory</segtitle>
 
       <seglistitem>
-        <seg>berkeley_db_svc, db_archive, db_checkpoint, db_deadlock, db_dump,
-        db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify</seg>
+        <seg>db_archive, db_checkpoint, db_deadlock, db_dump, db_load,
+        db_printlog, db_recover, db_stat, db_upgrade, db_verify and
+        berkeley_db_svc if enabled</seg>
         <seg>libdb.[so,a], libdb_cxx.[so,a], libdb_java.[so,a] and
         libdb_tcl.[so,a]</seg>
         <seg>/usr/share/doc/db-&db-version;</seg>




More information about the blfs-book mailing list