嘗試安裝 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 捆綁包多路復用器1.5.那多路復用器包裹需要libevent-2.0-5以滿足其運行時間要求。相應的建造要求是libevent-dev

嘗試這個:

sudo apt-get install libevent-dev

相關內容