更新时间:2022-10-03 17:38:40
ubuntu编译libevent遇到的问题
1.首先下载libevent源码
1
|
wget https: //github .com /libevent/libevent/archive/release-1 .4.15-stable. tar .gz
|
本文下载的是libevent 1.4.15。
2.下载后解压
1
|
tar -zxvf release-1.4.15-stable. tar .gz
|
3.阅读README
4.运行autogen.sh
1
|
bash autogen.sh
|
5.运行遇到 libtoolize: 未找到命令
1
|
sudo apt install libtool
|
6.重新执行autogen.sh
7. 执行./configure
8.make
9.make install
本文转自313119992 51CTO博客,原文链接:http://blog.51cto.com/qiaopeng688/1958510