ntop安装报错记录

来源:互联网 发布:手机淘宝删除中差评 编辑:程序博客网 时间:2024/05/12 06:33
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
原创粉丝点击