开发环境说明
linux系统:ubuntu18.04
libevent版本:2.1.8
1 安装依赖环境
apt-get install perl g++ make automake libtool unzip
2 zlib编译
tar -xvf zlib-1.2.11.tar.gz
cd zlib-1.2.11
make
make install
3 openssl编译
tar -xvf openssl-1.1.1.tar.gz
cd openssl-1.1.1
./config
make
make install
4 libevent编译
uzip libevent-master.zip
cd libevent-master
./autogen.sh
./configure
make
make install