linuxfedoralibnet

How to supply the Libnet header to Nemesis during installation?


I'm trying to install Nemesis on Fedora 31, but it throws the error below.
How can I supply the Libnet header during installation?

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  

checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking libnet.h usability... no
checking libnet.h presence... no
checking for libnet.h... no

ERROR! Libnet header not found, go get it from
http://www.packetfactory.net/projects/libnet/
or use the --with-libnet-* options, if you have it installed
in unusual place


Solution

  • You could try this (it uses the libnet10-devel package from your Fedora 31):