Configure Error Unable To Find Rrd
Contents |
error: Unable to find RRD at... rrd error unable to graph Messages sorted by: [ date ] [ thread ] configure error unable to find your mysql installation [ subject ] [ author ] I figured on the geoip issue myself.
Configure Error Unable To Find A Working C++ Compiler
Autogen.sh works perfectly now. New problem error during make command. globals-core.h:449: warning: declaration of 'hostCreation' shadows a global declaration globals-structtypes.h:1143: warning: shadowed declaration is here /bin/sh ./libtool --mode=link --tag=CC gcc -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -L/usr/local/lib -L/opt/local/lib -o ntop ntop-main.o ntop-admin.o libntopreport.la libntop.la -lpthread -lcrypt -lc -lssl -lcrypto -lrrd_th -lgdbm -lz -lGeoIP -lpcap gcc -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -o .libs/ntop ntop-main.o ntop-admin.o -L/usr/local/lib -L/opt/local/lib ./.libs/libntopreport.so /downloads/ntop-4.0.3/.libs/libntop.so ./.libs/libntop.so -lpthread -lcrypt -lc -lssl -lcrypto -lrrd_th /usr/lib/libgdbm.so -lz -lGeoIP -lpcap -Wl,--rpath -Wl,/usr/local/lib /downloads/ntop-4.0.3/.libs/libntop.so: undefined reference to `pthread_mutex_trywrlock' collect2: ld returned 1 exit status make[2]: *** [ntop] Error 1 make[2]: Leaving directory `/downloads/ntop-4.0.3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/ntop-4.0.3' make: *** [all] Error 2 [root at IO ntop-4.0.3]# Tried "make install" just to see what would happen: Making install in . make[1]: Entering directory `/downloads/ntop-4.0.3' /bin/sh ./libtool --mode=link --tag=CC gcc -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -L/usr/local/lib -L/opt/local/lib -o ntop ntop-main.o ntop-admin.o libntopreport.la libntop.la -lpthread -lcrypt -lc -lssl -lcrypto -lrrd_th -lgdbm -lz -lGeoIP -lpcap gcc -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith -W
Storage SAN NAS Projects About Home > IT Architecture, Networking Security > ntop installation and usage howto ntop installation and usage howto March 7th, 2012 ###ntop installation PS:if you encountered errors like the following during nagios installation using ./autogen.sh, then you may be interested in this article: 1.configure: error: Unable to find RRD at http://lists.ntop.org/pipermail/ntop/2011-June/016305.html /usr/local: please use --with-rrd-home=DIR 2.checking for GeoIP_record_by_ipnum in -lGeoIP... no checking for GeoIP_name_by_ipnum_v6 in -lGeoIP... no Please install GeoIP (http://www.maxmind.com/) 3.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 http://www.doxer.org/ntop-installation-and-usage-howto/ 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! Now let's go to the topic of this article: #1.install rrdtool #PS: if you encounter error "Pango-WARNING **: failed to choose a font, expect ugly output", then you'll need install xorg-x11-font* as stated below yum -y install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel gdbm-devel xorg-x11-font* wget 'http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz' -O ../rrdtool-1.4.7.tar.gz cd ../ tar zxvf rrdtool-1.4.7.tar.gz echo $PKG_CONFIG_PATH export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ cd rrdtool-1.4.7 ./configure make make install cd /opt ln -s rrdtool-1.4.7 rrdtool cd rrdtool cd share/rrdtool/examples/ ./stripes.pl cp stripes.png /var/www/html/crystal #then visit the picture to see whether it's loading or not #2.install libpcap from source wget 'http://www.tcpdump.org/release/libpcap-1.2.1.tar.gz' configure/make/make install #3.install geoip wget 'http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz' configure/make/make install #4.install ntop ./
We think that someone is sniffing!.. So, we wanted to monitor network activity, and see what really happens.. http://agacho.blogspot.com/2010/08/how-to-install-ntop-401-on-debian.html While googling about it, I saw a tool called "ntop".. That was good, because you can use a web interface to monitor things instead of using a linux terminal.. We are currently using a debian system, so first thing we tried was to install it with: $ sudo apt-get install ntopOnce it was installed(it took some time because error unable of dependencies), I realized that the version was an old one(3.3..). So of course, I wanted to install the new version 4.0.1.. Our debian system was an old version.. Maybe this is why we suffered very much, I'm not sure..First, I tried to install it by using the tarball archive provided by the site.. I have to say that error unable to ntop's installation script is not very user friendly.. You never know what you need as dependencies before running the command "./autogen.sh".. Each time that we tried to run the script, we needed more and more dependencies.. because I'm very stubborn, I didnt give up!.. and tried to install all dependencies.. even the version of python was a problem :)ntop installation script will give an error because it cannot find RRD tool installed.., you need to have RRD tool installed.. And then, run the script again with rrd home parameter which is:$ ./autogen.sh --with-rrd-home:/opt/rrdtool-1.4.xthis part is important.. by default, ntop tries to find RRD tool in /usr/local/rrdtool folder.. but if you try to install RRD tool using a tarball, after the configure, make, make install process, RRD tool is installed under /opt directory.. so do not try to give the /usr/local/rrdtool as a parameter :)and other dependencies, that we came up with were libraries like "pixman, cairo, pangocairo, fontconfig, freefont and so on".. and these are only "few" ones.. And another missing dependency was "GeoIP"..