glfs/general/genlib/pcre/pcre-inst.xml

22 lines
1022 B
XML
Raw Normal View History

<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 &amp;&amp;
make &amp;&amp;
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/ &amp;&amp;
ln -sf ../../lib/libpcre.so.0 /usr/lib/libpcre.so</command></userinput></screen>
</sect2>