Changeset caa0c15
- Timestamp:
- 06/28/2009 01:49:33 PM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/shells/zsh.xml
rb7c5379 rcaa0c15 159 159 POSIX capabilities.</para> 160 160 161 <para><parameter>--disable-gdbm</parameter>: This parameter disables the 162 use of the <application>GDBM</application> library.</para> 163 161 164 <para><parameter>--enable-pcre</parameter>: This parameter allows to use 162 165 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/ && 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 && 184 ln -v -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so 185 186 mv -v /usr/lib/libgdbm.so.* /lib && 187 ln -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> 183 196 184 197 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.