编译安装snort出现错误:

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

解决办法是去http://code.google.com/p/libdnet/ 下载 libdnet-1.12.tgz.

然后:

tar -zxvf libdnet-1.12.tgz
cd libdnet-1.12
./configure
make && make install

重新编译错误消失!!