I'm compiling Snort 2.9.8.2 on Ubuntu 16.04. When i run ./configure
following error is shown:
ERROR! dnet header not found, go get it from
http://code.google.com/p/libdnet/ or use the --with-dnet-*
options, if you have it installed in an unusual place
Installing libdnet-dev
wasn't solve the problem. Is there this header file in official repository of Ubuntu?
My SNORT installation problem was resolved by installing
libdumbnet-dev
:(source)
dnet.h is in the linux headers, so install the build-essential package. you can use apt-file search dnet.h to find the packages for files.
My error, just install the headers directly packages linux-headers and linux-headers-generic. Those should get the headers for any kernel you install.