我下载了tcpdump源文件以手动构建它。当我运行./configure时,它会出现以下错误:
checking if unaligned accesses fail... no
checking for h_errno... yes
./configure: line 12852: syntax error near unexpected token `LIBSSL,'
./configure: line 12852: `PKG_CHECK_MODULES(LIBSSL, libssl)'
我安装了libssl-dev
和openssl
,谷歌搜索无济于事。
下面的一些Config.log文件错误:
configure:3283: gcc -E -O2 conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
compilation terminated.
configure:3388: gcc -E -O2 conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
conftest.c:54:24: fatal error: rpc/rpcent.h: No such file or directory
#include <rpc/rpcent.h>
configure:3910: gcc -E -O2 conftest.c
conftest.c:21:24: fatal error: rpc/rpcent.h: No such file or directory
#include <rpc/rpcent.h>