configure error libevent not found
here for a quick overview of the site Help configure: error: "curses not found" Center Detailed answers to any questions you might have
Configure Error Libevent Not Found UbuntuMeta Discuss the workings and policies of this site About Us Learn more about
Libevent Not Found MacStack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Libevent-develQuestion 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 “libevent not found” error in tmux up vote 11 down vote favorite I am trying bitcoin configure: error: libevent not found. 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 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
checking whether build environment is sane... yes
checking for a thread-safe mkdir install libevent -p... etc/install-sh -c -d
checking for pkg-config... configure: error: "libevent not found" mac no
checking for LIBEVENT... no
checking for library containing event_init... no
configure: curses not found ubuntu error: "libevent not found"
You have to tell it where lib event is installed. I did a vanilla configure && make && http://stackoverflow.com/questions/21926202/libevent-not-found-error-in-tmux 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 https://llaisdy.wordpress.com/2014/08/08/macosx-telling-tmux-where-libevent-is/ 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
Support Search https://github.com/bitcoin/bitcoin/issues/7270 GitHub This repository Watch 1,214 Star 10,041 Fork 6,673 bitcoin/bitcoin Code Issues 407 Pull requests 140 Projects 6 Pulse http://pyther.net/2014/03/building-tmux-1-9a-statically/ Graphs New issue Mac OS X 10.11.1 compilation error: libevent not found. #7270 Closed mizhang opened this Issue Jan 1, not found 2016 · 1 comment Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 participant mizhang commented Jan 1, 2016 I brew installed libevent, got the error at ./configure checking for EVENT... no configure: error: libevent libevent not found not found. In my /usr/local/lib/, I have libevent_openssl and etc, but NOT libevent_dev, so I brew uninstall it and manually install libevent, still not found libevent_dev. Can anyone give me some suggestions? Thanks. mizhang closed this Jan 1, 2016 mizhang commented Jan 1, 2016 accidentally published this issue twice Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
slightly dated, v1.6. I didn't want to update tmux system wide as this would impact other users. A single statically linked library that I could store in my home area would be perfect. I discovered the build process was bit of a challenge. Although I found answers to my problems, they were not in a centrally located. Therefore, I am documenting my steps below. These steps allowed me to build tmux 1.9a. These same steps should work for newer versions, however at some point, these steps may break. Additionally, these steps were performed on RHEL6 - they should apply to nearly any distro. Install glibc-static: $ yum install glibc-static Download libevent-2.0.21-stable $ ./configure --prefix=/tmp/local --disable-shared $ make $ make install Download ncurse 5.9 $ ./configure --prefix=/tmp/local --with-default-terminfo-dir=/usr/share/terminfo --with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo" $ make $ make install Download Tmux Source $ ./configure --enable-static CFLAGS="-I/tmp/local/include -I/tmp/local/include/ncurses" LDFLAGS="-L/tmp/local/lib -L/tmp/local/include -L/tmp/local/include/ncurses" LIBEVENT_CFLAGS="-I/tmp/local/include" LIBEVENT_LIBS="-L/tmp/local/lib -levent" $ make -j5 $ cp tmux /home/$USER/bin Troubleshooting / Build Issues: Problem curses not found: checking for LIBEVENT... yes checking for library containing setupterm... no configure: error: "curses not found" Solution: install glibc-static "It attempts to statically link ncurses, and ncurses has a dependency on glibc. So in order to statically link ncurses you also have to statically link glibc, which requires the static versions of the glibc libraries, which RHEL and CentOS don't include by default." https://groups.google.com/forum/#!topic/iterm2-discuss/wfYur0iSXdQ Problem "tmux: open terminal failed: