CentOS 4.7 Linux IO 2.6.9-78.0.13.plus.c4smp #1 SMP Tue Jan 20 22:12:33 EST 2009 i686 i686 i386 GNU/Linux
-Paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gary Gatten Sent: Wednesday, June 08, 2011 3:32 PM To: '[email protected]' Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... What OS and platform? Maybe you can can tweak the make file so it doesn't try to use that directive? ----- Original Message ----- From: Paul A. Spagnola [mailto:[email protected]] Sent: Wednesday, June 08, 2011 05:28 PM To: [email protected] <[email protected]> Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... I think this error has something to do with my problem. undefined reference to `pthread_mutex_trywrlock' a google search showed some people in china with the same problem when they compile ntop 4.0.3 as well. No solution though. -Paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gary Gatten Sent: Wednesday, June 08, 2011 3:23 PM To: '[email protected]' Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... No. Maybe you have too old (or new) version of geoip? I THOUGHT ntop fetched and installed that for you... Maybe this has nothing to do with geoip! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul A. Spagnola Sent: Wednesday, June 08, 2011 5:12 PM To: [email protected] Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... I get a lot of "Prerequisite <filename> is older than target <filename>." In my make output. Is that normal? -Paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul A. Spagnola Sent: Wednesday, June 08, 2011 3:04 PM To: [email protected] Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... I figured on the geoip issue myself. 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@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 -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[1]: *** [ntop] Error 1 make[1]: Leaving directory `/downloads/ntop-4.0.3' make: *** [install-recursive] Error 1 [root@IO ntop-4.0.3]# -Paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul A. Spagnola Sent: Wednesday, June 08, 2011 2:58 PM To: [email protected] Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... That worked. Thank you. I saw this message at the end of build: Removing dups and misplaced entries from LIBS and INCS... 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/) Do I really need to install GeoIP? Paul Spagnola Desktop Support Manager IT Dept. Douglas County, Oregon Phone (Desk): (541) 957-4856 Phone (Office): (541) 440-4330 Fax: (541) 440-6129 Email: [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gary Gatten Sent: Wednesday, June 08, 2011 2:52 PM To: '[email protected]' Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... You *must* specify the location of rrdtool on the autogen.sh command line, as this message indicates: configure: error: Unable to find RRD at /usr/local: please use > --with-rrd-home=DIR So, ./autogen.sh --with-rrd-home=/something. I THINK it would be /usr/bin/ in your instance, but I'm not sure. Usually it's /usr/local/rrdtool-1.2.3 : where 1.2.3 = version. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul A. Spagnola Sent: Wednesday, June 08, 2011 4:48 PM To: [email protected] Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... Yes, I am logged in as root. Exact command I am running is: "./autogen.sh" Python packages installed: python-elementtree-1.2.6-5.el4.centos python-sqlite-1.1.7-1.2.1 python-2.3.4-14.7.el4 python-urlgrabber-2.9.8-2 rpm-python-4.3.3-26_nonptl libxml2-python-2.6.16-12.6 RRDTool install location: /usr/bin/rrdcgi /usr/bin/rrdtool /usr/bin/rrdupdate /usr/lib/librrd.so.2 /usr/lib/librrd.so.2.0.10 /usr/lib/librrd_th.so.2 /usr/lib/librrd_th.so.2.0.8 /usr/share/doc/rrdtool-1.2.23 RRDTool-devel install location: /usr/include/rrd.h /usr/lib/librrd.so /usr/lib/librrd_th.so -Paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gary Gatten Sent: Wednesday, June 08, 2011 2:38 PM To: '[email protected]' Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... Are you running the ./autogen.sh as root or? Where exactly are those pkgs installed to? /usr/local/rrd????? What is the exact command you are specifying? This part of ntop usually works no problem. BTW, you'll also need python and probably the python dev packages installed. Do you have those? G -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul A. Spagnola Sent: Wednesday, June 08, 2011 4:30 PM To: [email protected] Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... I have these packages installed: perl-rrdtool-1.2.23-1.el4.rf rrdtool-devel-1.2.23-1.el4.rf rrdtool-1.2.23-1.el4.rf -Paul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yuri Francalacci Sent: Wednesday, June 08, 2011 2:11 PM To: [email protected] Subject: Re: [Ntop] Error: configure: error: Unable to find RRD at... do you have rrd development package installed? if not, please install it, or download it directly from rrd web site Y. On Jun 8, 2011, at 11:08 PM, Paul A. Spagnola wrote: > Trying to compile 4.0.3. I still get this error when I run "autogen.sh". Not sure what to do. I tried specifying many paths, but nothing works. > > configure: error: Unable to find RRD at /usr/local: please use > --with-rrd-home=DIR > > OS is CentOS 4.7 > > -Paul > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop ############################################### Yuri Francalacci - [email protected] - http://www.ntop.org "Simplicity is the ultimate sophistication" - Leonardo da Vinci ############################################### _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
