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

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Mar 30 15:19:00 PDT 2010


Author: randy
Date: 2010-03-30 16:19:00 -0600 (Tue, 30 Mar 2010)
New Revision: 8378

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/databases/mysql.xml
Log:
Added commands and explanations to rebuild the /usr/share/info/dir file in the MySQL instructions

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2010-03-30 22:12:00 UTC (rev 8377)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2010-03-30 22:19:00 UTC (rev 8378)
@@ -46,6 +46,10 @@
       <itemizedlist>
         <listitem>
           <para>[randy] - Added commands and explanations to rebuild the
+          /usr/share/info/dir file in the MySQL instructions.</para>
+        </listitem>
+        <listitem>
+          <para>[randy] - Added commands and explanations to rebuild the
           /usr/share/info/dir file in the GPerf instructions.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/server/databases/mysql.xml
===================================================================
--- trunk/BOOK/server/databases/mysql.xml	2010-03-30 22:12:00 UTC (rev 8377)
+++ trunk/BOOK/server/databases/mysql.xml	2010-03-30 22:19:00 UTC (rev 8378)
@@ -140,8 +140,16 @@
 
 <screen role="root"><userinput>make benchdir_root=/tmp/mysql-bench install &&
 rm -rf /tmp/mysql &&
-cd /usr/lib &&
-ln -v -sf mysql/libmysqlclient{,_r}.so* .</userinput></screen>
+pushd /usr/lib &&
+ln -v -sf mysql/libmysqlclient{,_r}.so* . &&
+popd &&
+ 
+pushd /usr/share/info &&
+rm -v dir &&
+for FILENAME in *; do
+    install-info $FILENAME dir 2>/dev/null
+done &&
+popd</userinput></screen>
 
     <tip>
       <para>The only documentation shipped in the source tarball are
@@ -207,6 +215,10 @@
     <para><option>--with-libwrap</option>: This switch adds tcpwrappers
     support to <application>MySQL</application>.</para>
 
+    <para><command>pushd ... popd</command>: This set of commands rebuilds the
+    <filename>/usr/share/info/dir</filename> file as the installation failed
+    to do so.</para>
+
   </sect2>
 
   <sect2 role="configuration">




More information about the blfs-book mailing list