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

Snort 基础2

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

错误原因是缺少 bisonflex ,不仅要安装它们的rpm包,还要安装开发包

代码语言:javascript
复制
yum install flex.x86_64  flex-devel.x86_64  bison.x86_64  bison-devel.x86_64 

解决办法

代码语言:javascript
复制
[root@h101 daq-2.0.6]# yum install flex-devel.x86_64  bison-devel.x86_64 
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * epel: mirrors.opencas.cn
 * extras: centos.ustc.edu.cn
 * updates: centos.ustc.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package bison-devel.x86_64 0:2.4.1-5.el6 will be installed
---> Package flex-devel.x86_64 0:2.5.35-9.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                           Arch                         Version                              Repository                  Size
======================================================================================================================================
Installing:
 bison-devel                       x86_64                       2.4.1-5.el6                          base                        21 k
 flex-devel                        x86_64                       2.5.35-9.el6                         base                        12 k

Transaction Summary
======================================================================================================================================
Install       2 Package(s)

Total download size: 33 k
Installed size: 43 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): bison-devel-2.4.1-5.el6.x86_64.rpm                                                                      |  21 kB     00:00     
(2/2): flex-devel-2.5.35-9.el6.x86_64.rpm                                                                      |  12 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 201 kB/s |  33 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : bison-devel-2.4.1-5.el6.x86_64                                                                                     1/2 
  Installing : flex-devel-2.5.35-9.el6.x86_64                                                                                     2/2 
  Verifying  : flex-devel-2.5.35-9.el6.x86_64                                                                                     1/2 
  Verifying  : bison-devel-2.4.1-5.el6.x86_64                                                                                     2/2 

Installed:
  bison-devel.x86_64 0:2.4.1-5.el6                                  flex-devel.x86_64 0:2.5.35-9.el6                                 

Complete!
[root@h101 daq-2.0.6]# 
[root@h101 daq-2.0.6]# yum -y install  bison.x86_64 
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * epel: mirrors.opencas.cn
 * extras: centos.ustc.edu.cn
 * updates: centos.ustc.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package bison.x86_64 0:2.4.1-5.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                       Arch                           Version                              Repository                    Size
======================================================================================================================================
Installing:
 bison                         x86_64                         2.4.1-5.el6                          base                         637 k

Transaction Summary
======================================================================================================================================
Install       1 Package(s)

Total download size: 637 k
Installed size: 2.0 M
Downloading Packages:
bison-2.4.1-5.el6.x86_64.rpm                                                                                   | 637 kB     00:03     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : bison-2.4.1-5.el6.x86_64                                                                                           1/1 
  Verifying  : bison-2.4.1-5.el6.x86_64                                                                                           1/1 

Installed:
  bison.x86_64 0:2.4.1-5.el6                                                                                                          

Complete!
[root@h101 daq-2.0.6]# 

本文系转载,前往查看

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

本文系转载前往查看

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

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档