1.git
configure: error: "libevent not found"github
解決方法:es5
$ git clone https://github.com/libevent/libevent.gitcode
$ cd libeventget
$ ./configure
it
$ makeevent
$ sudo make install方法
2.error
configure: error: "curses not found"make
解決方法;
$ sudo apt-get install libncurses5-dev