Support Center > Knowledgebase > DirectAdmin > eMail > Exim > How to compile pcre from source
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.
wget http://files.directadmin.com/services/custombuild/pcre-8.02.tar.gz
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
ldconfig
Now go ahead and recompile any service that needs it. (eg: exim 4.71+, apache 2.2.x+)
Also Read