编译安装

./autogen.sh
./configure

./configure --prefix=/usr --libdir=/usr/lib64

libevent-release-2.0.21-stable编译报错,到下一个版本libevent-release-2.0.22-stable就可以了