小编Kir*_*ran的帖子

如何在 Ubuntu 上从源代码安装最新版本的 nmap?

我正在运行 Ubuntu 16.04,我正在尝试安装最新的 nmap。我安装了 C 编译器。

我跑了openssl version,发现安装了这个版本:OpenSSL 1.0.2g 1 Mar 2016

我将 nmap 7.31 下载为 .bz2 文件。我解压了 我像这样运行 ./configure 实用程序:

./configure --with-openssl=/usr/bin/openssl
Run Code Online (Sandbox Code Playgroud)

我收到了这条消息:

... configure: error: Your version of OpenSSL does not support
SHA-256. Please install OpenSSL 0.9.8 or later. configure: error:
./configure failed for nping
Run Code Online (Sandbox Code Playgroud)

我跑whereis openssl了,命令的结果确认我的位置是正确的。如果我自己运行 ./configure ,我会收到关于在没有 openssl 的情况下编译 nmap 的警告。

WARNING: You are compiling without OpenSSL
Run Code Online (Sandbox Code Playgroud)

之后我尝试使用make并得到

make The program 'make' can be found in the following packages:  * …
Run Code Online (Sandbox Code Playgroud)

make nmap configure

7
推荐指数
2
解决办法
6579
查看次数

标签 统计

configure ×1

make ×1

nmap ×1