尝试使用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文件的命令,但仍然没有运气。
答案 0 :(得分: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