./ ssldump代码库的配置抛出错误

问题描述 投票:2回答:1

正在尝试与ssldump一起使用从http://www.rtfm.com/ssldump/ssldump-0.9b3.tar.gz获得了代码>

并遵循了INSTALL的指示但是

./configure

正在抛出

checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
configuring for
checking for pow in -lm... yes
checking for PCAP include files... found in /usr/include
checking for PCAP library...
configure: error: Couldn't find PCAP library: needed for ssldump

然后我尝试了

./configure --with-pcap-lib /usr/lib64/libpcap.so --with-pcap-inc /usr/include/pcap

但出现此错误。

configure: warning: /usr/lib64/libpcap.so: invalid host type
configure: warning: /usr/include/pcap: invalid host type
configure: error: can only configure for one host and one target at a time

然后是>>

./configure --enable-64bit=x86_64-unknown-linux-gnu --with-pcap-lib /usr/lib64/libpcap.so --with-pcap-inc /usr/include/pcap

configure: warning: /usr/lib64/libpcap.so: invalid host type
configure: warning: /usr/include/pcap: invalid host type
configure: error: can only configure for one host and one target at a time

而且我尝试了所有带有更新的.sub和.guess文件的命令,但仍然没有运气。

尝试使用ssldump时从http://www.rtfm.com/ssldump/ssldump-0.9b3.tar.gz获得了代码,并遵循了INSTALL的指示,但是./configure引发了对主机系统的检查...

c++ makefile configure
1个回答
0
投票
apt-get install build-essential openssl libssl-dev curl vim ca-certificates git libpcap0.8-dev libpcap0.8

./configure --prefix=/ --with-pcap-lib=/usr/lib/x86_64-linux-gnu/

make && make install
© www.soinside.com 2019 - 2024. All rights reserved.