How to compile pcre from source

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » Email » Exim

How to compile pcre from sourceLast Modified: May 26, 2010, 4:55 pm
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+)
Related Helpfiles
How to compile exim from source

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST