前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Snort 基础1

Snort 基础1

作者头像
franket
发布2022-05-03 10:44:08
3330
发布2022-05-03 10:44:08
举报
文章被收录于专栏:技术杂记

安装软件包

安装daq-2.0.6
代码语言:javascript
复制
[root@h101 snort]# ll
total 6560
-rw-r--r-- 1 root root  514687 Oct 28 13:53 daq-2.0.6.tar.gz
-rw-r--r-- 1 root root 6198052 Oct 28 13:53 snort-2.9.7.6.tar.gz
[root@h101 snort]# tar -zxvf daq-2.0.6.tar.gz 
daq-2.0.6/
daq-2.0.6/ChangeLog
daq-2.0.6/missing
daq-2.0.6/daq.dsp
daq-2.0.6/configure
...
...
daq-2.0.6/m4/lt~obsolete.m4
daq-2.0.6/m4/ltoptions.m4
daq-2.0.6/configure.ac
[root@h101 snort]# ll 
total 6564
drwxr-xr-x 6 1000 1000    4096 Jul 17 05:06 daq-2.0.6
-rw-r--r-- 1 root root  514687 Oct 28 13:53 daq-2.0.6.tar.gz
-rw-r--r-- 1 root root 6198052 Oct 28 13:53 snort-2.9.7.6.tar.gz
[root@h101 snort]# 
安装报错一
代码语言:javascript
复制
[root@h101 snort]# cd daq-2.0.6
[root@h101 daq-2.0.6]# ls
aclocal.m4  ChangeLog  config.guess  config.sub  configure.ac  daq.dsp  install-sh  m4           Makefile.in  os-daq-modules  sfbpf
api         compile    config.h.in   configure   COPYING       depcomp  ltmain.sh   Makefile.am  missing      README
[root@h101 daq-2.0.6]# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
...
...
checking for getaddrinfo... yes
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... no
configure: WARNING: don't have both flex and bison; reverting to lex/yacc
checking for capable lex... insufficient
configure: error: Your operating system's lex is insufficient to compile
         libsfbpf. You should install both bison and flex.
         flex is a lex replacement that has many advantages,
         including being able to compile libsfbpf.  For more
         information, see http://www.gnu.org/software/flex/flex.html .
[root@h101 daq-2.0.6]# echo $?
1
[root@h101 daq-2.0.6]#

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 安装软件包
    • 安装daq-2.0.6
      • 安装报错一
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档