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

Snort 基础11

作者头像
franket
发布2022-05-03 10:57:56
2420
发布2022-05-03 10:57:56
举报
文章被收录于专栏:技术杂记技术杂记
安装报错三
代码语言:javascript
复制
[root@h101 snort-2.9.7.6]# ./configure  --enable-sourcefire 
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 whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
...
...
checking for daq address space ID... no
checking for daq flow ID... no
checking for DAQ_VERDICT_RETRY... no
checking for sparc... no
checking for visibility support... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no

   ERROR!  zlib header not found, go get it from
   http://www.zlib.net
[root@h101 snort-2.9.7.6]# 

报错原因是 zlib 的头文件缺失

解决办法是: 安装 zlib-devel.x86_64

代码语言:javascript
复制
[root@h101 snort-2.9.7.6]# yum install  zlib.x86_64  zlib-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
Package zlib-1.2.3-29.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                          Arch                         Version                               Repository                  Size
======================================================================================================================================
Installing:
 zlib-devel                       x86_64                       1.2.3-29.el6                          base                        44 k

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

Total download size: 44 k
Installed size: 115 k
Is this ok [y/N]: y
Downloading Packages:
zlib-devel-1.2.3-29.el6.x86_64.rpm                                                                             |  44 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : zlib-devel-1.2.3-29.el6.x86_64                                                                                     1/1 
  Verifying  : zlib-devel-1.2.3-29.el6.x86_64                                                                                     1/1 

Installed:
  zlib-devel.x86_64 0:1.2.3-29.el6                                                                                                    

Complete!
[root@h101 snort-2.9.7.6]# 

本文系转载,前往查看

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

本文系转载前往查看

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

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