Add to Favourites Add to Favourites    Print this Article Print this Article

How to compile pcre from source

In this how-to, we'll outline how to install pcre for your system.
If you've got custombuild, you can simply type:

cd /usr/local/directadmin/custombuild
./build pcre

but if you've got an older system with customapache, use the following method.

We'll use pcre 8.02 for this example.  Change all occurances of 8.02 to the version you want to use.

tar xvzf pcre-8.02.tar.gz
cd pcre-8.02
./configure --enable-utf8 --enable-unicode-properties
make CPPFLAGS=-I/usr/kerberos/include
make install

Now go ahead and recompile any service that needs it. (eg: exim 4.71+, apache 2.2.x+)

Was this answer helpful?

Also Read