Snort版本:2.9.11.1
在AWS EC2上编译时遇到以下错误。尝试使用谷歌搜索但提供的解决方案不起作用。
./ configure --enable-sourcefire&&制造&& make install
ERROR!没有找到dnet标头,请从中获取 http://code.google.com/p/libdnet/或使用--with-dnet- * 选项,如果您将它安装在一个不寻常的地方 make:***未指定目标且未找到makefile。停止
答案 0 :(得分:0)
yum install libdnet-devel
尝试安装这个,这对我来说在debian中对同样的错误起作用了。
yum search libdnet
Loaded plugins: priorities, update-motd, upgrade-helper
1040 packages excluded due to repository priority protections
N/S matched: libdnet
libdnet-devel.i686 : Header files for libdnet library
libdnet-devel.x86_64 : Header files for libdnet library
libdnet-progs.x86_64 : Sample applications to use with libdnet
libdnet.i686 : Simple portable interface to lowlevel networking routines
libdnet.x86_64 : Simple portable interface to lowlevel networking routines
Name and summary matches only, use "search all" for everything.