Project

General

Profile

configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre

Added by tapas_mishra over 8 years ago

I am installing lighttpd on Ubuntu 9.04.
As per instructions on this page
[[http://redmine.lighttpd.net/projects/lighttpd/wiki/InstallFromSource]]
I did
svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/
cd lighttpd-1.4.x
./autogen.sh

and then when executed
./configure

Got following error

configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre

Also one more error
configure: error: bzip2-headers and/or libs where not found, install them or build with --without-bzip2

What is that complaining about ?


Replies (5)

RE: configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre - Added by crushmaster over 8 years ago

You need the devel packages in order to build lighty. I think Ubuntu should be able to do it for you Debian style. Try:

sudo apt-get build-dep lighttpd

and things should work...

RE: configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre - Added by crushmaster over 8 years ago

Try:

sudo apt-get install libpcre3-dev libbz2-dev

and run configure again.

RE: configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre - Added by tapas_mishra over 8 years ago

Hi,
by the time your reply came I was able to do it.
But my step for libpcre3-dev had failed even before you suggested I had tried the same.
To be able to get it up I had installed all pcre libraries which were in Synaptics Software Centre
I did not got which one worked.

    (1-5/5)