13544870125 发表于 2015-11-24 07:38:54

ntop安装报错记录

wgethttp://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
#
#
# ^C
#
#
# 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
#
#
#
#
#
# rpm -qa gdbm
gdbm-1.8.0-36.el6.x86_64
#
#
# ^C
# ^C
# 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
#
# rpm -e gdbm-1.8.0-36.el6.x86_64 --nodeps
#
# 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
页: [1]
查看完整版本: ntop安装报错记录