Configure Error Libevent Not Found Mac
Contents |
/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir configure: error: "curses not found" -p... etc/install-sh -c -d
...
checking for pkg-config...
Configure Error Libevent Not Found Ubuntu
no
checking for LIBEVENT... no
checking for library containing event_init... no
configure: tmux configure: error: "libevent not found" error: "libevent not found"
$
You have to tell it where lib event is installed. I did a vanilla configure && make && libevent-devel 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
Bitcoin Configure Error Libevent Not Found
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
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 install libevent mac company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions libevent not found bitcoin Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million
Ubuntu Install Libevent
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting error Warning: Could not link libevent. Unlinking up vote 0 down vote favorite Trying to install tmux on OSX https://llaisdy.wordpress.com/2014/08/08/macosx-telling-tmux-where-libevent-is/ but getting: $ brew install tmux Error: You must `brew link libevent' before tmux can mdurrant@C02MH2DQFD58:~ $ brew link libevent Linking /usr/local/Cellar/libevent/2.0.21... Warning: Could not link libevent. Unlinking... Error: Permission denied - /usr/local/include/event2 I can't use sudo with brew. I'd tried installing libevent previously by compiling it locally and now I can't seem to get rid of the traces of it, though I went to where I had it and did sudo make uninstall http://stackoverflow.com/questions/23001640/getting-error-warning-could-not-link-libevent-unlinking tmux libevent share|improve this question edited Apr 11 '14 at 0:54 asked Apr 11 '14 at 0:49 Michael Durrant 46.3k45188297 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted In the end the answer was: Install iterm2 brew install automake brew install pkg-config rm configure sh autogen.sh ./configure make make install This helped (http://whiletruecode.com/post/installing-iterm2-and-tmux-osx) and I had an almost identical experience though the final step was not the broken link but to do the above share|improve this answer edited Apr 11 '14 at 1:40 answered Apr 11 '14 at 1:27 Michael Durrant 46.3k45188297 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 tmux libevent or ask your own question. asked 2 years ago viewed 650 times active 2 years ago Blog Stack Overflow Podcast #89 - The Decline of Stack Overflow Has Been Greatly… Related 4Cannot link LIBEVENT as C++1How to get peer address in event handler on error during bufferevent_socket_connect?2What are my errors us
here for a quick overview of the site Help Center Detailed answers to any questions you might have http://unix.stackexchange.com/questions/17907/why-cant-gcc-find-libevent-when-building-tmux-from-source 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 not found 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 Why can't gcc find libevent when building tmux from source? up vote 53 down vote favorite 27 I want to install tmux on libevent not found a machine where I don't have root access. I already compiled libevent and installed it in $HOME/.bin-libevent and now I want to compile tmux, but configure always ends with configure: error: "libevent not found", even though I tried to point to the libevent directory in the Makefile.am by modifying LDFLAGS and CPPFLAGS, but nothing seems to work. How can I tell the system to look in my home dir for the libevent? compiling make configure autoconf share|improve this question edited Aug 2 '11 at 20:48 Gilles 369k676711119 asked Aug 2 '11 at 16:04 volker 268144 add a comment| 7 Answers 7 active oldest votes up vote 52 down vote accepted Try: DIR="$HOME/.bin-libevent" ./configure CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib" (I'm sure there must be a better way to configure library paths with autoconf. Usually there is a --with-libevent=dir option. But here, it seems there is no such option.) share|improve this answer answered Aug 2 '11 at 18:09 Stéphane Gimenez 14.2k13767 4 This is the approach that made make finally work. I tried setting other env