linux - Building tmux from source -


i'm trying build tmux source (downloaded .tar) , i've encountered problems dependencies.

when run

./configure 

i error

checking libevent... no checking library containing event_init... no configure: error: "libevent not found" 

but have libraries installed.

$ dpkg -l libevent-2.0-5  /. /usr /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5.1.9 /usr/share /usr/share/doc /usr/share/doc/libevent-2.0-5 /usr/share/doc/libevent-2.0-5/copyright /usr/share/doc/libevent-2.0-5/changelog.debian.gz /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5 

i managed solve problem making

$ cd /usr/lib/x86_64-linux-gnu $ ln -s libevent-2.0.so.5.1.9 libevent.so 

is configure script looking libevent.so? if so, why not symlink default on liibevent installation?

still, when solving problem, similar occurs libncurses have installed.

thanks in advance help.

make sure install "-dev" version of these libraries (i.e. "sudo apt-get install libevent-dev"). shouldn't need soft link.


Comments