Error Libevent Not Found
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 configure error libevent not found this site About Us Learn more about Stack Overflow the company Business Learn tmux configure error libevent not found more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Configure Error Libevent 1.4 11 Could Not Be Found
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
Configure Error No Libevent Found
“libevent not found” error in tmux up vote 11 down vote favorite I am trying 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 libevent not found mac 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 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 445k64795953 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
into the http://stackoverflow.com/questions/21926202/libevent-not-found-error-in-tmux location ‘/home/stsun/local’ dir. Still I get the error saying that “libevent not found”. I solved the problem by the following way. http://isunix.github.io/blog/2014/12/24/libevent-not-found-error-while-install-tmux 1 2 DIR="$HOME/local" ./configure --prefix=$DIR CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib" Since I install libevent with the option, “–prefix=$HOME/local”. Posted by Steven Sun Dec 24th, 2014 Shell « how to make zsh the default shell without root access django tips » Copyright © 2016 - Steven Sun - Powered by Octopress
/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 https://llaisdy.wordpress.com/2014/08/08/macosx-telling-tmux-where-libevent-is/ 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 not found -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 libevent not found (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 (2) September 2009 (2) July 2009 (4) June 2009 (7) May 2009 (2) April 2009 (2) February 2009 (1) January 2009 (1) November 2008 (2) October 2008 (1) September 2008 (1) June 2008 (1) March