%general-entities; ]> $LastChangedBy$ $Date$ PCRE-&pcre-version; PCRE Introduction to PCRE The PCRE package contains Perl Compatible Regular Expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &pcre-md5sum; Download size: &pcre-size; Estimated disk space required: &pcre-buildsize; Estimated build time: &pcre-time; User Notes: Installation of PCRE Install PCRE by running the following commands: ./configure --prefix=/usr \ --docdir=/usr/share/doc/pcre-&pcre-version; \ --enable-utf \ --enable-unicode-properties \ --enable-pcregrep-libz \ --enable-pcregrep-libbz2 \ --disable-static && make To test the results, issue: make check. Now, as the root user: make install && mv -v /usr/lib/libpcre.so.* /lib && ln -sfv ../../lib/libpcre.so.1.0.1 /usr/lib/libpcre.so Command Explanations : This switch includes the code for handling UTF-8 character strings in the library. : This switch enables Unicode properties support. Note: You need this switch if you are going to build with the --with-pcre=system switch. : This switch adds support to pcregrep to read .gz compressed files. : This switch adds support to pcregrep to read .bz2 compressed files. mv -v /usr/lib/libpcre.so.* /lib: Moves PCRE library on the root filesystem so that it is available in case grep gets reinstalled with PCRE support. Contents Installed Programs Installed Libraries Installed Directory pcregrep, pcretest and pcre-config libpcre.so, libpcrecpp.so and libpcreposix.so /usr/share/doc/pcre-&pcre-version; Short Descriptions pcregrep is a grep that understands Perl compatible regular expressions. pcregrep pcretest can test a Perl compatible regular expression. pcretest pcre-config is used during the compile process of programs linking to the PCRE libraries. pcre-config