Snort 基础9

2022-05-03 10:57:15 浏览数 (1)

报错原因为 pcre 头文件缺失

解决方法 : 安装 pcre.x86_64pcre-devel.x86_64 软件包

代码语言:javascript复制
[root@h101 snort-2.9.7.6]# yum install  pcre.x86_64  pcre-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 pcre.x86_64 0:7.8-6.el6 will be updated
---> Package pcre.x86_64 0:7.8-7.el6 will be an update
---> Package pcre-devel.x86_64 0:7.8-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                           Arch                          Version                            Repository                   Size
======================================================================================================================================
Installing:
 pcre-devel                        x86_64                        7.8-7.el6                          base                        320 k
Updating:
 pcre                              x86_64                        7.8-7.el6                          base                        196 k

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

Total download size: 516 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): pcre-7.8-7.el6.x86_64.rpm                                                                               | 196 kB     00:02     
(2/2): pcre-devel-7.8-7.el6.x86_64.rpm                                                                         | 320 kB     00:01     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 138 kB/s | 516 kB     00:03     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : pcre-7.8-7.el6.x86_64                                                                                              1/3 
  Installing : pcre-devel-7.8-7.el6.x86_64                                                                                        2/3 
  Cleanup    : pcre-7.8-6.el6.x86_64                                                                                              3/3 
  Verifying  : pcre-7.8-7.el6.x86_64                                                                                              1/3 
  Verifying  : pcre-devel-7.8-7.el6.x86_64                                                                                        2/3 
  Verifying  : pcre-7.8-6.el6.x86_64                                                                                              3/3 

Installed:
  pcre-devel.x86_64 0:7.8-7.el6                                                                                                       

Updated:
  pcre.x86_64 0:7.8-7.el6                                                                                                             

Complete!
[root@h101 snort-2.9.7.6]# 

0 人点赞