I've installed libevent on my server in the directory root/data/ and have i'm about to install memcached with

./configure –with-lib-event=/data/; make; make install

However, after running a bit I get this error saying i'm pointing to the wrong directory for libevent.

checking for libevent directory... configure: error: libevent is required.  You can get it from http://www.monkey.org/~provos/libevent/

      If it's already installed, specify its path using --with-libevent=/dir/

make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

Any suggestions. I am not experience with cli so anything is help. Thanks!

link|improve this question
Libevent probably is not in /data/. You could try to run configure without the flag and it will often look in default locations. If that doesnt work, then supply a path, but make sure its the path to the libevent header files. – datasage Jun 23 '11 at 0:15
feedback

migrated from stackoverflow.com Jun 23 '11 at 2:18

This question came from our site for professional and enthusiast programmers.

1 Answer

Run:

find /lib /usr/lib /usr/local/lib | grep -i libevent.so

Then use directory it finds libevent.so as configuration parameter.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown