linux下libevent的安装
1、下载安装源码包libevent-2.0.21-stable.tar.gz
2、解压并安装
tar zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.1.4-alpha
./configure -prefix=/usr/libevent
make
--切换root用户再进行一下操作
su - root
sudo make install
1、下载安装源码包libevent-2.0.21-stable.tar.gz
2、解压并安装
tar zxvf libevent-2.0.21-stable.tar.gz
cd libevent-2.1.4-alpha
./configure -prefix=/usr/libevent
make
--切换root用户再进行一下操作
su - root
sudo make install