ntop安装报错记录

wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

wget -c -t 3 http://packages.sw.be/ntop/ntop-3.3.8-2.el5.rf.i386.rpm





Test the compiler and setup CFLAGS...

checking if compiler accepts -W (warning flags)... yes
grep: libtool: No such file or directory

Critical library/include tests...

checking for pcap_lookupdev in -lpcap... no
             *** FATAL ERROR ***             
 It looks that you don't have the libpcap distribution installed.
 Download, compile and, optionally, install it.
 When finished please re-run this program.
 You can download the latest source tarball at http://www.tcpdump.org/
configure: error:  The LBL Packet Capture Library, libpcap, was not found!







configure: error:  The LBL Packet Capture Library, libpcap, was not found!
解决方法:rpm -qa libpcap  
卸载

重新下载  libpcap-0.8.3.tar.gz  进行安装。


#####################################################################################################

*
*******************************************************************

Test the compiler and setup CFLAGS...

checking if compiler accepts -W (warning flags)... yes
grep: libtool: No such file or directory

Critical library/include tests...

found in /usr/local
checking for pcap_next_ex in -lpcap... yes
checking for pcap_lib_version in -lpcap... yes
checking for gdbm...
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking for gdbm_open in -lgdbm... no

*******************************************************************
*
* ERROR: gdbm header or library routines are missing
*           (yes means it was found, no means it was not found)
*
*              gdbm.h...no
*              gdbm_open() in -lgdbm...no
*
*>>> No way to proceed.
*
*???     1. Install libgdbm
*???    and Rerun ./configure
*???  or 2. Use the --with-gdbm-xxxxx= options
*
*******************************************************************

configure: error: Unable to continue... aborting ./configure
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]# ^C
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]# yum install -y gdbm*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Package gdbm-1.8.0-36.el6.x86_64 already installed and latest version
Nothing to do
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]# rpm -qa gdbm
gdbm-1.8.0-36.el6.x86_64
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]# ^C
[root@milton2 ntop-5.0.1]# ^C
[root@milton2 ntop-5.0.1]# rpm -e gdbm-1.8.0-36.el6.x86_64
error: Failed dependencies:
        libgdbm.so.2()(64bit) is needed by (installed) perl-4:5.10.1-127.el6.x86_64
        libgdbm.so.2()(64bit) is needed by (installed) python-2.6.6-29.el6_2.2.x86_64
        libgdbm.so.2()(64bit) is needed by (installed) avahi-ui-0.6.25-11.el6.x86_64
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]# rpm -e gdbm-1.8.0-36.el6.x86_64 --nodeps
[root@milton2 ntop-5.0.1]#
[root@milton2 ntop-5.0.1]# wget http://ftp.gnu.org/pub/gnu/gdbm/gdbm-1.8.3.tar.gz









######################################################################################################################################
configure: error: Unable to find RRD at /usr/local: please use --with-rrd-home=DIR










  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值