libevent 老板本的編譯步驟

具體是采用這些命令來執行。
在目錄底下按順序執行下去即可。
aclocal

mv configure.in configure.ac
需要采用libevent自帶的in文件。

autoconf
autoheader
automake

可能需要注釋到configure。ac里面的文件。
因為test的makefile沒有寫。

configure
make

補充:

error: possibly undefined macro: AC_PROG_LIBTOOL
安裝libtool 庫可解決
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。