Configure Error Libevent Not Found Ubuntu
Contents |
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
Tmux Configure Error Libevent Not Found
Overflow the company Business Learn more about hiring developers or posting ads with us configure error libevent 1.4 11 could not be found Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a configure error no libevent found community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “libevent not found” error in tmux up vote 11 down vote favorite I am trying
Libevent Not Found Tmux
to install tmux in my Scientific Linux release 6.5 (Carbon) machine These are the steps I followed wget http://downloads.sourceforge.net/tmux/tmux-1.9.tar.gz tar xvzf tmux-1.9.tar.gz cd tmux-1.9 ./configure At this step it's showing the error: configure: error: "libevent not found" To solve it I did the following: emacs /etc/yum.repos.d/pgdg-92-sl.repo and added the following lines [pgdg92] name=PostgreSQL 9.2 $releasever - $basearch baseurl=http://yum.postgresql.org/9.2/redhat/rhel-6.4-$basearch enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-92 [pgdg92-source] name=PostgreSQL 9.2 $releasever - $basearch - Source
Configure: Error: "curses Not Found"
failovermethod=priority baseurl=http://yum.postgresql.org/srpms/9.2/redhat/rhel-6.4-$basearch enabled=0 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-92 Then did: yum install libevent It installed correctly Still the error configure: error: "libevent not found" is not solved Thanks in advance :) linux tmux share|improve this question edited Feb 21 '14 at 5:53 Kabir Pradeep 1,26411122 asked Feb 21 '14 at 5:43 Anand 167313 add a comment| 1 Answer 1 active oldest votes up vote 33 down vote accepted If you're trying to build software then you need the development package. Install libevent-devel. For ubuntu based distributions the package is libevent-dev share|improve this answer edited Jan 30 '15 at 14:08 Em-AK 407 answered Feb 21 '14 at 5:44 Ignacio Vazquez-Abrams 444k63792950 Thanks a lot sir, it worked. –Anand Feb 21 '14 at 5:48 @Anand Please mark answer as accepted if it worked for you, and upvoting is nice way to say thanks.Please see to this stackoverflow.com/help/accepted-answer –Kabir Pradeep Feb 21 '14 at 5:53 Yes surely, I am waiting for the timeout of 10 minutes ... :( –Anand Feb 21 '14 at 5:56 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 Pos
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 libevent not found mac About Us Learn more about Stack Overflow the company Business Learn more about
Libevent-devel
hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & bitcoin configure error libevent not found 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 http://stackoverflow.com/questions/21926202/libevent-not-found-error-in-tmux ask a question Anybody can answer The best answers are voted up and rise to the top libevent… configure: error: not found, cannot proceed up vote -2 down vote favorite I received the following error while trying to build pgBouncer from source. This occurred during the configure phase (OS:Ubuntu12.04). Any solutions? checking for library containing gethostbyname... none required checking for library containing hstrerror... none required checking for http://unix.stackexchange.com/questions/175957/libevent-configure-error-not-found-cannot-proceed crypt... yes checking for lstat... yes checking for libevent... configure: error: not found, cannot proceed compiling share|improve this question edited Dec 30 '14 at 20:57 eyoung100 3,9021137 asked Dec 26 '14 at 6:55 Raja 63 2 Just FYI pgbouncer (version 1.4.2) is available from the standard Ubuntu 12.04 repository. –steeldriver Dec 26 '14 at 13:10 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote It needs the libevent to be installed in your OS. Install libevents with apt-get or install it from source. There are many link in the google on how to install libevents. share|improve this answer answered Dec 26 '14 at 8:34 pmverma 1413 2 The required package is libevent-dev I think –steeldriver Dec 26 '14 at 13:07 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 compiling or ask your own question.
?> The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file https://geeksww.com/tutorials/operating_systems/linux/installation/how_to_install_libevent_on_debianubuntucentos_linux.php descriptor or after a timeout has been reached. Furthermore, libevent also https://llaisdy.wordpress.com/2014/08/08/macosx-telling-tmux-where-libevent-is/ 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 not found 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 libevent not found 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? P
/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... etc/install-sh -c -d
...
checking for pkg-config... no
checking for LIBEVENT... no
checking for library containing event_init... no
configure: error: "libevent not found"
$
You have to tell it where lib event is installed. I did a vanilla configure && make && sudo make install and it seems to have ended up in /usr/local/, so: $ DIR="/usr/local/"
$ ./configure CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... etc/install-sh -c -d
...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
$
Done. Thanks to stackexchange. Like this:Like Loading... Related Posted by llaisdy Filed in sysadmin Leave a Comment » Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. « Dependent Types inProlog Open-Source Speech RecognitionToolkits » Here About Erlang resources Haskell resources There github linguotopia (my scrapbook) LinkedIn Llaisdy Select Category Business(7) Language(5) Cymraeg(2) 中文(3) Mobile(12) Android(9) Programming(47) ATS(2) Elixir(2) Elm(1) Erlang(11) Haskell(14) revisit later(2) Java(1) JavaScript(1) Lisp(1) ML(1) Prolog(3) Python(5) Speech Rec(1) sysadmin(3) Select Month November 2015 (1) October 2015 (1) September 2015 (2) May 2015 (1) February 2015 (1) January 2015 (2) August 2014 (2) May 2014 (1) April 2014 (3) October 2013 (1) June 2013 (1) May 2013 (1) April 2013 (1) March 2013 (1) August 2012 (1) September 2011 (2) August 2011 (1) July 2011 (1) June 2011 (2) May 2011 (4) January 2011 (1) June 2010 (1) May 2010 (1) November 2009 (1) October 2009