mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-08 10:37:22 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1748 af4574ff-66df-0310-9fd7-8a98e5e911e0
22 lines
1022 B
XML
22 lines
1022 B
XML
<sect2>
|
|
<title>Installation of <application><acronym>PCRE</acronym></application></title>
|
|
|
|
<para>Install <application><acronym>PCRE</acronym></application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --enable-utf8 &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
<para>If you reinstall <application>grep</application> after installing <application>pcre</application>,
|
|
<application>grep</application> will get linked against <application>pcre</application> and
|
|
may cause problems if <filename>/usr</filename> is a seperate mount point. To avoid this,
|
|
either pass the option <emphasis>--disable-perl-regexp</emphasis> when executing <command>./configure</command>
|
|
for <application>grep</application> or move <filename>libpcre</filename> to <filename>/lib</filename>
|
|
as follows.</para>
|
|
|
|
<screen><userinput><command>mv /usr/lib/libpcre.so.* /lib/ &&
|
|
ln -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|