r4673 - trunk/BOOK/server/databases

djensen at linuxfromscratch.org djensen at linuxfromscratch.org
Fri Jul 1 10:33:39 PDT 2005


Author: djensen
Date: 2005-07-01 11:33:37 -0600 (Fri, 01 Jul 2005)
New Revision: 4673

Modified:
   trunk/BOOK/server/databases/db.xml
Log:
rearranged Berkley DB

Modified: trunk/BOOK/server/databases/db.xml
===================================================================
--- trunk/BOOK/server/databases/db.xml	2005-07-01 13:18:48 UTC (rev 4672)
+++ trunk/BOOK/server/databases/db.xml	2005-07-01 17:33:37 UTC (rev 4673)
@@ -62,39 +62,13 @@
 
   </sect2>
 
-  <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>
-
-<screen><userinput>cd build_unix &&
-../dist/configure --prefix=/usr \
-    --enable-compat185 \
-    --enable-cxx &&
-make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</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 &&
-chown root:root /usr/bin/db_* \
-/usr/lib/libdb* /usr/include/db* &&
-chown -R root:root /usr/share/doc/db-&db-version;</userinput></screen>
-
-  </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>
+    <para>If you do not wish to run the test suite skip ahead to Installation.
+    You must have have <application>Tcl</application> to test
+    <application>Berkeley DB</application>.  This test takes a very long time.</para>
 
-<screen><userinput>make realclean &&
-cd ..</userinput></screen>
-
     <para>Build for the <application>Berkeley DB</application> test by running
     the following commands:</para>
 
@@ -114,10 +88,32 @@
 
     <para>Clean up with the following command:</para>
 
-<screen><userinput>make realclean</userinput></screen>
+<screen><userinput>make realclean &&
+cd..</userinput></screen>
 
   </sect2>
 
+  <sect2 role="installation">
+    <title>Installation of Berkeley DB</title>
+
+    <para>Install <application>Berkeley DB</application> by running the
+    following commands:</para>
+
+<screen><userinput>cd build_unix &&
+../dist/configure --prefix=/usr \
+    --enable-compat185 \
+    --enable-cxx &&
+make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</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 &&
+chown root:root /usr/bin/db_* \
+/usr/lib/libdb* /usr/include/db* &&
+chown -R root:root /usr/share/doc/db-&db-version;</userinput></screen>
+
+  </sect2>
+
   <sect2 role="commands">
     <title>Command Explanations</title>
 




More information about the blfs-book mailing list