configure: error: Did not find pcre-config script at /usr

jancat

Verified User
Joined
Aug 10, 2007
Messages
15
configure: error: Did not find pcre-config script at /usr

*** There was an error while trying to configure Apache 2. Check the configure/ap2/configure.apache file

I`m using centos 4.6 final gcc-3.4.6-9 ?
 
I had the same problem. Answer from DA support:

configure/ap2/configure.apache

and remove:
"--with-pcre=/usr" \
 
Installing pcre-devel is the answer.

You can remove the "--with-pcre=/usr" \ line however if you need to build additional modules such as mod_security you will find you need the line there.
 
I had the same problem. CentOS Linux 4.6

"configure: error: Did not find pcre-config script at /usr/local"

I have pcre-devel installed,
and have remove "--with-pcre=/usr" \ from configure/ap2/configure.apache :confused: Any suggestions?

Gunnar
 
Try:
Code:
./build update
./build pcre
./build apache
 
Back
Top