注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

NET START HERE

研究C/C++、网络/通信/协议编程、网络安全、软件安全

 
 
 

日志

 
 

在Ubuntu上安装Snort常见问题解答  

2011-03-30 09:36:25|  分类: 技术探讨 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
 
 
Installing snort on ubuntu

Error 1
: "C compiler cannot create executables"

Fix: install libc6-dev

Error 2: "C++ preprocessor "/lib/cpp" fails sanity check"

Fix: install g++

It's still weird to me that certain development packages aren't installed by default. (It's fine that -dev libraries aren't installed, but g++?!) I remember being shocked the first time I saw a linux install without any compilers, and that was back in 99 or 2000. It's still weird, though. Partially it's just because I think of linux boxen as development toys (of course, I think of all computers except maybe windows gaming boxes as development toys), but even in this day in age, you need those packages if you're going to compile anything, and I regularly want to compile some bit of software. How do people deal with having to wait for binaries of everything?

... that said, I'm going to have to put some thought into preparing a snort package for debian so no one else has to do this. ;)

Error 3: "checking for pcap_datalink in -lpcap... no"

ERROR! Libpcap library/headers not found, go get it from
http://www.tcpdump.org
or use the --with-libpcap-* options, if you have it installed
in unusual place

Fix: install libpcap-dev (duh)


Error 4: ./configure: line 22737: pcre-config: command not found
./configure: line 22743: pcre-config: command not found
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no

ERROR! Libpcre header not found, go get it from
http://www.pcre.org

Fix: Install libpcre-dev (+ required packages... as with the other things I installed.)

Woot! ./configure runs now! Any make errors can have another entry, maybe.

--
人人都在进步,我们没有理由停止不前!
 


 
  评论这张
 
阅读(967)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017