Changeset caa0c15


Ignore:
Timestamp:
06/28/2009 01:49:33 PM (15 years ago)
Author:
Ag Hatzimanikas <ag@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
5359aca
Parents:
b7c5379
Message:

Merge the PCRE and GDBM notes to the ZSH instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7828 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/shells/zsh.xml

    rb7c5379 rcaa0c15  
    159159    POSIX capabilities.</para>
    160160
     161    <para><parameter>--disable-gdbm</parameter>: This parameter disables the
     162    use of the <application>GDBM</application> library.</para>
     163
    161164    <para><parameter>--enable-pcre</parameter>: This parameter allows to use
    162165    the <application>PCRE</application> regular expression library in shell
    163     builtins. Note: Linking <application>ZSH</application> dynamically against
    164     <application>PCRE</application>, produces a runtime dependency on
    165     <filename class='libraryfile'>libpcre.so</filename>. If
    166     <filename class='directory'>/usr</filename> is a separate mount point and
    167     <command>zsh</command> needs to be available at boot time, either you
    168     have to statically link <application>ZSH</application> against
    169     <application>PCRE</application> (you can examine the
    170     <filename>config.modules</filename> file on how to link statically the
    171     module), or move the library to <filename class='directory'>/lib</filename>
    172     as follows:</para>
    173 
    174 <screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib/ &amp;&amp;
    175 ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</userinput></screen>
    176 
    177     <para><parameter>--disable-gdbm</parameter>: This parameter disables the
    178     use of the <application>GDBM</application> library. Note: This is only
    179     necessary if you use multiple partitions as <application>GDBM</application>
    180     resides in <filename class='directory'>/usr</filename> and
    181     <command>zsh</command> will be installed to <filename class='directory'>/bin
    182     </filename></para>
     166    builtins.</para>
     167     
     168    <sect3 id="mountpoints">
     169      <title>Multiple partitions</title>
     170     
     171      <para>Linking <application>ZSH</application> dynamically against
     172      <application>PCRE</application> and/or <application>GDBM</application>
     173      produces runtime dependencies on <filename class='libraryfile'>
     174      libpcre.so</filename> and/or <filename class='libraryfile'>libgdbm.so
     175      </filename>respectively, which both reside in
     176      <filename class='directory'>/usr</filename> hierarchy. If
     177      <filename class='directory'>/usr</filename> is a separate mount point
     178      and <application>ZSH</application> needs to be available in boot time,
     179      then its supporting libraries should be in
     180      <filename class='directory'>/lib</filename> too. You can move the
     181      libraries as follows:</para>
     182
     183<screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib &amp;&amp;
     184ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so
     185
     186mv -v /usr/lib/libgdbm.so.* /lib &amp;&amp;
     187ln -v -sf ../../lib/libgdbm.so.3 /usr/lib/libgdbm.so</userinput>
     188</screen>
     189
     190      <para>Alternatively you can statically link <application>ZSH</application>
     191      against <application>PCRE</application> and <application>GDBM</application>
     192      if you modify the <filename>config.modules</filename> file (you need first
     193      to run configure to generate it).</para>
     194
     195    </sect3>
    183196
    184197  </sect2>
Note: See TracChangeset for help on using the changeset viewer.