Configure Error Libevent Is Required For Gearmand
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Windows cygwin gearman ./configure shows “configure: error: Unable to find libevent” error up vote 1 down vote favorite I am trying to install gearman http://www.phpvs.net/2010/11/30/installing-gearman-and-gearmand-on-windows-with-cygwin/ I downloaded "libevent-2.0.21-stable.tar.gz" and extracted in cygwin's home/libs directory (I created a libs directory myself) where there is also "gearmand-1.1.5". Then, inside the libevent directory I did: ./configure make make install After installing libevent, I changed to gearman directory and did: ./configure This resulted in "configure: error: Unable to find libevent". Any ideas? Thanks. windows cygwin gearman libevent share|improve this question edited Apr 3 '13 at 11:04 asked Apr 3 '13 at 10:58 Sukhrob 526827 did u got the answer –taher chhabrawala Apr 25 '13 at 11:21 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote A moment ago, I solved this problem. It's because when we complete to compile "libevent", it will generate the lib files in ./usr/local/lib. This path is not contained in environment variable——PATH. So, we have to copy it to "usr/local/bin", and then, it works well... share|improve this answer edited Sep 19 '13 at 12:46 Rohitashv Singhal 2,43673267 answered May 14 '13 at 7:27 user2345894
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Trying to install gearman on CentOS, and ./configure cannot find event.h even though http://stackoverflow.com/questions/15785475/windows-cygwin-gearman-configure-shows-configure-error-unable-to-find-libev libevent is installed up vote 2 down vote favorite 1 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 http://unix.stackexchange.com/questions/33368/trying-to-install-gearman-on-centos-and-configure-cannot-find-event-h-even-th 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! centos share|improve this question asked Mar 4 '12 at 4:09 ariestav 11313 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted You need libevent-devel for the development files. share|improve this answer answered Mar 4 '12 at 4:25 Ignacio Vazquez-Abrams 21.8k15160 Thanks for the solution. –ariestav Mar 5 '12 at 1:34 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email 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 centos or ask your own question. asked 4 years ago viewed 4125 times active 4 years ag
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the https://serverfault.com/questions/487331/not-able-to-install-gearman-on-ubuntu-12-04/487333 workings and policies of this site About Us Learn more about https://geeksww.com/tutorials/operating_systems/linux/installation/how_to_install_libevent_on_debianubuntucentos_linux.php Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's configure error how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Not able to install Gearman on Ubuntu 12.04 up vote 8 down vote favorite 7 I am trying to install Gearman on my Ubuntu 12.04 machine by following command sudo apt-get install gearman-job-server libgearman-dev sudo apt-get install php-pear configure error libevent php5-dev Above commands run properly but when I run sudo pecl install gearman it is giving errors as follows checking whether to enable gearman support... yes, shared found in /usr checking for gearman_client_set_context in -lgearman... yes checking for gearman_worker_set_server_option in -lgearman... yes checking for gearman_job_error in -lgearman... no configure: error: libgearman version 1.1.0 or later required ERROR: `/tmp/pear/temp/gearman/configure' failed I am not able to find how to install it. ubuntu ubuntu-12.04 gearman share|improve this question asked Mar 13 '13 at 7:52 PankajK 14315 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote accepted In your repository there is old version of gearman. You need do download source of the latest version (at least 1.1.0)from http://www.gearman.org/ compile and install it. Then installation php module with pecl will go smoothly. I had similar problem on centos. share|improve this answer edited Mar 13 '13 at 8:15 answered Mar 13 '13 at 7:57 B14D3 3,45783768 Thank you I will try it –PankajK Mar 13 '13 at 8:06 I downloaded gearmand from l
?> The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts. I have tested these instructions on Mac OS X 10.9.2 (and libevent-2.0.21-stable) as well and they work on Mac too. However, for some reason, I wasn't able to download the package using curl, so I used by browser to download the file and then used the instructions below to build from source code. Here are the simple steps to download, configure, compile, and install libevent on a Linux machine. I have tested these instructions on Debian/Ubuntu and CentOS Linux distributions but they should work on all Linux machines where compilers and make utility are installed. Please take a look at Configuring Ubuntu Linux After Installation to configure your Debian/Ubuntu Linux box for the required tools. To download the library, go to http://monkey.org/~provos/libevent/ and find the latest stable version. For the purposes of this tutorial, I will show you how to install 1.4.14b-stable. Also, I am going to install the library in /opt/libevent but you can change the location in the steps below a/c to your requirement. No more waiting, here are the steps: $ wget http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz $ tar xzf libevent-1.4.14b-stable.tar.gz $ cd libevent-1.4.14b-stable $ ./configure --prefix=/opt/libevent # hopefully, you haven't encountered any errors so far $ make # make install You should have libevent installed in /opt/libevent. To make sure: ls -la /opt/libevent Now, you can use libevent as a library for other cool software e.g. Gearman. Did this tutorial help a little? How about buy me a cup of coffee? Please feel free to use the comments form below if you have any questions or need more explanation on anything. I recommend thoroughy testing on a production-like test system first before moving to production. t tags cloud debian libevent gearman installation centos linux library ubuntu popular searches free download for mysql database server 5.1.5, linux, php, ubuntu, bison, gearman, java, mysql, tools, mysql mysql, install mysql, source code, install cairo, mysql initialization, laptop Comments (write a comment): I have tried installing libevent , I have followed all the steps but when i checked der is no libevent directory created inside opt. Posted by: Pritesh Gajjan on Dec 13, 2011 @pritesh: Did you try installing the same version as mentioned in the tutorial? Perhaps, they changed something so