On Sun, Jun 28, 2009 at 10:01:01AM +0300, Agathoklis D. Hatzimanikas wrote:
> Applied in r7827 thanks to a patch by Guy. Note that in my opinion,
> it would better if we could merge (with a way that doesn't provide
> confusion) the notes about PCRE and GDBM.

Attached is a patch of the suggested changes, I've grouped PCRE and GDBM
together in such a way that they're not imposing upon one another. If
the seperate mount-point issues are fixed in LFS I'll reflect them in
BLFS accordingly. Hopefully this will do for now.
Index: BOOK/postlfs/shells/zsh.xml
===================================================================
--- BOOK/postlfs/shells/zsh.xml (revision 7827)
+++ BOOK/postlfs/shells/zsh.xml (working copy)
@@ -158,29 +158,40 @@
     <para><parameter>--enable-cap</parameter>: This parameter enables
     POSIX capabilities.</para>
 
-    <para><parameter>--enable-pcre</parameter>: This parameter allows to use
-    the <application>PCRE</application> regular expression library in shell
-    builtins. Note: Linking <application>ZSH</application> dynamically against
-    <application>PCRE</application>, produces a runtime dependency on
-    <filename class='libraryfile'>libpcre.so</filename>. If
-    <filename class='directory'>/usr</filename> is a separate mount point and
-    <command>zsh</command> needs to be available at boot time, either you
-    have to statically link <application>ZSH</application> against
-    <application>PCRE</application> (you can examine the
-    <filename>config.modules</filename> file on how to link statically the
-    module), or move the library to <filename class='directory'>/lib</filename>
-    as follows:</para>
+    <sect3 id="mountpoints">
+      <title>Multiple partitions</title>
 
-<screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib/ &amp;&amp;
-ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
+      <para><parameter>--disable-gdbm</parameter>: This parameter disables the
+      use of the <application>GDBM</application> library. Note: This is only
+      necessary if you use multiple partitions as 
<application>GDBM</application>
+      resides in <filename class='directory'>/usr</filename> and 
+      <command>zsh</command> will be installed to <filename 
class='directory'>/bin
+      </filename></para>
 
-    <para><parameter>--disable-gdbm</parameter>: This parameter disables the
-    use of the <application>GDBM</application> library. Note: This is only
-    necessary if you use multiple partitions as <application>GDBM</application>
-    resides in <filename class='directory'>/usr</filename> and 
-    <command>zsh</command> will be installed to <filename 
class='directory'>/bin
-    </filename></para>
+      <para><parameter>--enable-pcre</parameter>: This parameter allows to use
+      the <application>PCRE</application> regular expression library in shell
+      builtins. Note: Linking <application>ZSH</application> dynamically 
against
+      <application>PCRE</application> produces a runtime dependency on
+      <filename class='libraryfile'>libpcre.so</filename>. If
+      <filename class='directory'>/usr</filename> is a separate mount point 
then
+      <filename class="libraryfile">libpcre.so</filename> needs to be 
available at 
+      boot time.</para>
+      
+      <para>Alternatively you can statically link 
<application>ZSH</application> 
+      against <application>PCRE</application> and 
<application>GDBM</application>
+      (you can examine the <filename>config.modules</filename> file for how to 
+      statically link a module), or move the libraries to 
+      <filename class='directory'>/lib</filename> as follows:</para>
 
+<screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib &amp;&amp;
+ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so
+
+mv -v /usr/lib/libgdbm.so.* /lib &amp;&amp;
+ln -v -sf ../../lib/libgdbm.so.3 /usr/lib/libgdbm.so</userinput>
+</screen>
+
+    </sect3>
+
   </sect2>
 
   <sect2 role="configuration">
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to