Compiling PHP 5.3.3 on Ubuntu 8.04: Could not find libevent

Posted by Nick on Server Fault See other posts from Server Fault or by Nick
Published on 2010-09-26T01:56:03Z Indexed on 2012/04/15 5:34 UTC
Read the original article Hit count: 446

Filed under:
|
|

When attempting to ./configure PHP 5.3.3 on Ubuntu 8.04, I get the error:

 checking for libevent >= 1.4.11 install prefix...
 configure: error: Could not find libevent >= 1.4.11 in /usr/local/

I tried installing the libevent-dev and libevent1 packages, but same error.

I then removed the packages, downloaded and compiled libevent from source. Same error.

Locate shows that libevent was installed to /usr/local/lib/libevent.so with all its friends in /usr/local/lib/.

I tried configuring with the option:

--with-libevent-dir=/usr/local/lib/ 

Basically the same error:

 checking for libevent >= 1.4.11 install prefix...
 configure: error: Could not find libevent >= 1.4.11 in /usr/local/lib/

Any suggestions??

© Server Fault or respective owner

Related posts about ubuntu

Related posts about php