Take the 2-minute tour ×
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.

I'm trying to compile and install gearman onto a CentOS 6 box, and am getting an error when I compile from its source code. It requires the boost libraries, and was failing on that at first, but I installed those and it gets past that. Now, however, when I run ./configure it is failing with the message:

. . .
checking for ld that supports -Wl,-z,relro... yes
checking event.h usability... no
checking event.h presence... no
checking for event.h... no
configure: error: Unable to find libevent

So I installed libevent like so:

yum install libevent.i686

And that didn't help. So I downloaded the source to my home directory, extracted it to a sub directory within my home directory, ran ./configure and then make install and then tried ./configure on the gearman source, but it still gives me the configure: error: Unable to find libevent message. You can imagine how annoying that is! Especially after I tried installing libevent via yum and then installed it from source.

Any tips to get gearman ./configure to get past this message?

Thanks!

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You need libevent-devel for the development files.

share|improve this answer
    
Thanks for the solution. –  ariestav Mar 5 '12 at 1:34

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.