尝试安装 tmux 1.6 时出错 - E: 无法找到软件包 libevent

尝试安装 tmux 1.6 时出错 - E: 无法找到软件包 libevent
$ pwd 
$ /home/durrantm/Downloads/tmux-1.6

durrantm.../tmux-1.6$ ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
...
configure: error: "libevent not found"
durrantm.../tmux-1.6$ sudo apt-get install libevent
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libevent

答案1

Ubuntu 11.10 软件包tmux1.5. 那tmux包裹需要libevent-2.0-5以满足其运行时要求。相应的建造要求是libevent-dev

尝试这个:

sudo apt-get install libevent-dev

相关内容