Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

These are the requirements and instructions on how to install Apache on Linux. http://httpd.apache.org/docs/current/install.html

So I've installed everything (c++ compiler, apr and apr-util) to be able to install Apache correctly.

The only thing left is PCRE, I've installed it and it's located in my /usr/local/src/pcre-8.32

As I'm trying to sudo ./configure --with-included-apr I get this error:

checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/

What am I doing wrong?

share|improve this question

1 Answer

This solved it.

I installed pcre in /usr/local/pcre later on, by using

/.configure --prefix=/usr/local/pcre

Then installed apache.

./configure --with-included-apr –with-pcre=/usr/local/pcre
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.