1

我正在尝试在 Fedora 31 上安装 Nemesis,但它会引发以下错误。
在安装过程中如何提供 Libnet 标头?

root@dk:/usr/nembuild/nemesis-1.4$ ./configure
  --with-libnet-includes=/usr/nembuild/Libnet-1.0.2a/include
  --with-libnet-libraries=/usr/nembuild/Libnet-1.0.2a/lib  

检查 arpa/inet.h 可用性... 是
检查 arpa/inet.h 存在... 是
检查 arpa/inet.h... 是
检查 netinet/in.h 可用性... 是
检查 netinet/in.h存在...是
检查 netinet/in.h...是
检查 libnet.h 可用性...不
检查 libnet.h 存在...不
检查 libnet.h...否

错误!找不到 Libnet 标头,从
http://www.packetfactory.net/projects/libnet/
获取它 或使用 --with-libnet-* 选项,如果您将它安装
在不寻常的地方

4

1 回答 1

0

你可以试试这个(它使用你 Fedora 31 中的 libnet10-devel 包):

  • yum install libnet10-devel
  • sed -e 's/libnet-config/libnet10-config/g' -e 's/-lnet/-lnet10/g' -i configure
  • ./configure
  • make
于 2020-02-18T01:55:27.810 回答