Failed compile ntop from ports
Hello, I have problem compiling ntop from ports. I got error: === Building for p5-XML-Parser-2.36_1 Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.9/mach/Config.pm /usr/local/lib/perl5/5.8.9/mach/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean /dev/null 21 /usr/local/bin/perl5.8.9 Makefile.PL INSTALLDIRS=site CC=cc CCFLAGS=-O2 -fno-strict-aliasing -pipe PREFIX=/usr/local INSTALLPRIVLIB=/usr/local/lib INSTALLARCHLIB=/usr/local/lib Checking if your kit is complete... Looks good Warning: prerequisite LWP 0 not found. Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser == Your Makefile has been rebuilt. == == Please rerun the make command. == false *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser/work/XML-Parser-2.36. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser. *** Error code 1 Stop in /usr/ports/textproc/intltool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/net/ntop. *** Error code 1 Stop in /usr/ports/net/ntop. Also, I realized most of perl module could not build. Same problem while trying install Net-SSLeay. Need your advice. Thank you TIA Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Failed compile ntop from ports
On Wed, Jan 13, 2010 at 05:38:07PM +0700, kal...@muliahost.com wrote: Hello, I have problem compiling ntop from ports. I got error: === Building for p5-XML-Parser-2.36_1 Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.9/mach/Config.pm /usr/local/lib/perl5/5.8.9/mach/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean /dev/null 21 /usr/local/bin/perl5.8.9 Makefile.PL INSTALLDIRS=site CC=cc CCFLAGS=-O2 -fno-strict-aliasing -pipe PREFIX=/usr/local INSTALLPRIVLIB=/usr/local/lib INSTALLARCHLIB=/usr/local/lib Checking if your kit is complete... Looks good Warning: prerequisite LWP 0 not found. Writing Makefile for XML::Parser::Expat Writing Makefile for XML::Parser == Your Makefile has been rebuilt. == == Please rerun the make command. == Check your date/time settings. false *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser/work/XML-Parser-2.36. *** Error code 1 Stop in /usr/ports/textproc/p5-XML-Parser. *** Error code 1 Stop in /usr/ports/textproc/intltool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/net/ntop. *** Error code 1 Stop in /usr/ports/net/ntop. Also, I realized most of perl module could not build. Same problem while trying install Net-SSLeay. Need your advice. Thank you TIA Kalpin Erlangga Silaen HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Ntop install error related to net-snmp
Hello all, I'm attempting to install Ntop 3.3_1 from ports and I'm hitting a snag during compilation. Here is the error: In file included from /usr/local/include/net-snmp/utilities.h:54, from /usr/local/include/net-snmp/net-snmp-includes.h:78, from iface.c:766: /usr/local/include/net-snmp/library/container.h: In function 'CONTAINER_FREE': /usr/local/include/net-snmp/library/container.h:416: error: lvalue required as left operand of assignment I've got the latest version of net-snmp installed - 5.3.2. Any help would be appreciated. Thanks! -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgpqxmC92nUVw.pgp Description: PGP signature
Re: Ntop + SNMP
You don't. If you wish to use SNMP to monitor traffic voumes, etc., you'll need to use something like mrtg, cacti or nagios. ntop doesn't know or care about SNMP, any more than does, say, tcpdump or WireShark. Kurt Then why does it have support//plugin for SNMP if it wont/cant monitor it to ask the obvious ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop + SNMP
In the last episode (Oct 08), Warren Liddell said: You don't. If you wish to use SNMP to monitor traffic voumes, etc., you'll need to use something like mrtg, cacti or nagios. ntop doesn't know or care about SNMP, any more than does, say, tcpdump or WireShark. Kurt Then why does it have support//plugin for SNMP if it wont/cant monitor it to ask the obvious ? I think it's more for allowing ntop to provide status via SNMP (i.e. as an agent) than using snmp to collect info from remote machines. There's really no way to use SNMP to gather the info ntop needs. All you can get from snmp is network utilization, where ntop wants to see raw packets (or at minimum, ip+port+size data per flow). -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ntop + SNMP
Running FreeBSD 6.2-PRERELEASE and im wanting some info on how to get Ntop to use SNMP to monitor traffic as all traffic goes through my router/modem which has SNMP support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop + SNMP
On 10/7/06, Warren Liddell [EMAIL PROTECTED] wrote: Running FreeBSD 6.2-PRERELEASE and im wanting some info on how to get Ntop to use SNMP to monitor traffic as all traffic goes through my router/modem which has SNMP support. You don't. If you wish to use SNMP to monitor traffic voumes, etc., you'll need to use something like mrtg, cacti or nagios. ntop doesn't know or care about SNMP, any more than does, say, tcpdump or WireShark. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NTOP
im runnign FreeBSD 6.1-STABLE and each time i start NTOP it keeps looking to use rl0 which isnt active or used, however sis0 is used, so im wanting to know how i can tell ntop to use sis0 instead of rl0 ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTOP
Warren Liddell [EMAIL PROTECTED] writes: im runnign FreeBSD 6.1-STABLE and each time i start NTOP it keeps looking to use rl0 which isnt active or used, however sis0 is used, so im wanting to know how i can tell ntop to use sis0 instead of rl0 ? Did you specify the interface explicitly with the -i parameter? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntop segfault
Hey people, So I built ntop, but it's dying on me. Tue Jan 24 20:34:51 2006 RRD: Created base directory (/var/db/ntop/rrd) Tue Jan 24 20:34:51 2006 RRD: Created directory (/var/db/ntop/rrd/graphics) Tue Jan 24 20:34:51 2006 RRD: Created directory (/var/db/ntop/rrd/flows) Tue Jan 24 20:34:51 2006 RRD: Created directory (/var/db/ntop/rrd/interfaces) Tue Jan 24 20:34:51 2006 THREADMGMT[t150506496]: RRD: Started thread for throughput data collection Tue Jan 24 20:34:51 2006 THREADMGMT[t150504448]: RRD: Data collection thread running [p83425] Tue Jan 24 20:34:51 2006 THREADMGMT[t150506496]: RRD: Throughput data collection: Thread starting [p83425] Tue Jan 24 20:34:51 2006 THREADMGMT[t150506496]: RRD: Throughput data collection: Thread running [p83425] Tue Jan 24 20:34:51 2006 NOTE: -L | --use-syslog=facility not specified, child processes will log to the default (24). Segmentation fault It worked initially. I love the output, but I clicked on Hosts, and it died. Anyone else seeing this? Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpW1nxIyiLeg.pgp Description: PGP signature
zlib Borked? (Was Re: Ntop on 6.0)
Kurt Buff wrote: Drew Tomlinson wrote: Been Googling all day and I've seen those posts. However I just realized it was you. :) Well, not *just* me. :) I just edited the Makefile to add --without-zlib and am recompiling now. We'll see if that works around this problem for now. But I'd sure like to know why things aren't working on my machine? AFAIK, I did a standard install and haven't done much with the box since. It just serves as my gateway router for my home network so there's not much on it. I didn't need to do that. However, I've found the ntop list to be useful, so it might be worthwhile subscribing to that for a while. Adding --without-zlib worked for me. Would still appreciate any insight as to how my system may be screwed up and why zlib didn't work for me if anyone knows. Or even what I might rebuild or check to verify my zlib installation. Seems like it comes with the base system as I don't see any reference to it in ports. Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ntop on 6.0
I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the following warning: Tue Dec 20 14:20:58 2005 **WARNING** gzflush error -2(stream error) It does this with each access attempt. I've googled and learned that ntop creates compressed files and uses zlib to uncompress them on the fly. I assume my problem has something to do with this process? Any ideas on what to check or how to resolve? Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop on 6.0
Drew Tomlinson wrote: I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the following warning: Tue Dec 20 14:20:58 2005 **WARNING** gzflush error -2(stream error) It does this with each access attempt. I've googled and learned that ntop creates compressed files and uses zlib to uncompress them on the fly. I assume my problem has something to do with this process? Any ideas on what to check or how to resolve? Thanks, Drew Is this a fresh install of 6.0? I've got a fresh install of FBSD 6.0 and ntop 3.2_1 from ports, and don't have this problem. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop on 6.0
On 12/20/2005 3:06 PM Kurt Buff wrote: Drew Tomlinson wrote: I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the following warning: Tue Dec 20 14:20:58 2005 **WARNING** gzflush error -2(stream error) It does this with each access attempt. I've googled and learned that ntop creates compressed files and uses zlib to uncompress them on the fly. I assume my problem has something to do with this process? Any ideas on what to check or how to resolve? Thanks, Drew Is this a fresh install of 6.0? I've got a fresh install of FBSD 6.0 and ntop 3.2_1 from ports, and don't have this problem. Thanks for your reply. Yes, it's fairly fresh. FreeBSD blacksheep.mykitchentable.net 6.0-STABLE FreeBSD 6.0-STABLE #4: Thu Dec 1 11:33:29 PST 2005 Any ideas? Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop on 6.0
Drew Tomlinson wrote: On 12/20/2005 3:06 PM Kurt Buff wrote: Drew Tomlinson wrote: I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the following warning: Tue Dec 20 14:20:58 2005 **WARNING** gzflush error -2(stream error) It does this with each access attempt. I've googled and learned that ntop creates compressed files and uses zlib to uncompress them on the fly. I assume my problem has something to do with this process? Any ideas on what to check or how to resolve? Thanks, Drew Is this a fresh install of 6.0? I've got a fresh install of FBSD 6.0 and ntop 3.2_1 from ports, and don't have this problem. Thanks for your reply. Yes, it's fairly fresh. FreeBSD blacksheep.mykitchentable.net 6.0-STABLE FreeBSD 6.0-STABLE #4: Thu Dec 1 11:33:29 PST 2005 Any ideas? Thanks, Drew This isn't an upgrade of FBSD 4.x or 5.x, is it? Or an upgrade of an older version of ntop? The reason I ask is that this was a problem that was noted in ntop 2.something under 4.x and 5.x. If you google for the specific error message: http://www.google.com/search?hl=enlr=q=ntop+freebsd+%22gzflush+error%22btnG=Search you'll see stuff like that talked about in several places. I just flattened the box when I upgraded the OS, starting from a fresh install of 6.0, then cvsupping the ports to get ntop current, and all has been well since. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop on 6.0
On 12/20/2005 3:55 PM Kurt Buff wrote: Drew Tomlinson wrote: On 12/20/2005 3:06 PM Kurt Buff wrote: Drew Tomlinson wrote: I installed ntop 3.2_1 from the ports on a machine running FBSD 6.0. It appeared to install fine and seems OK when I start it. However whenever I try and access it via a browser, I just get a blank page. ntop reports the following warning: Tue Dec 20 14:20:58 2005 **WARNING** gzflush error -2(stream error) It does this with each access attempt. I've googled and learned that ntop creates compressed files and uses zlib to uncompress them on the fly. I assume my problem has something to do with this process? Any ideas on what to check or how to resolve? Thanks, Drew Is this a fresh install of 6.0? I've got a fresh install of FBSD 6.0 and ntop 3.2_1 from ports, and don't have this problem. Thanks for your reply. Yes, it's fairly fresh. FreeBSD blacksheep.mykitchentable.net 6.0-STABLE FreeBSD 6.0-STABLE #4: Thu Dec 1 11:33:29 PST 2005 Any ideas? Thanks, Drew This isn't an upgrade of FBSD 4.x or 5.x, is it? Or an upgrade of an older version of ntop? No. This box had a hard drive failure. Since I had to replace the drive, I upgraded to 6.0 at that time. The reason I ask is that this was a problem that was noted in ntop 2.something under 4.x and 5.x. If you google for the specific error message: http://www.google.com/search?hl=enlr=q=ntop+freebsd+%22gzflush+error%22btnG=Search Been Googling all day and I've seen those posts. However I just realized it was you. :) you'll see stuff like that talked about in several places. I just flattened the box when I upgraded the OS, starting from a fresh install of 6.0, then cvsupping the ports to get ntop current, and all has been well since. I just edited the Makefile to add --without-zlib and am recompiling now. We'll see if that works around this problem for now. But I'd sure like to know why things aren't working on my machine? AFAIK, I did a standard install and haven't done much with the box since. It just serves as my gateway router for my home network so there's not much on it. Thanks, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, More! http://www.alchemistswarehouse.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop on 6.0
Drew Tomlinson wrote: Been Googling all day and I've seen those posts. However I just realized it was you. :) Well, not *just* me. :) I just edited the Makefile to add --without-zlib and am recompiling now. We'll see if that works around this problem for now. But I'd sure like to know why things aren't working on my machine? AFAIK, I did a standard install and haven't done much with the box since. It just serves as my gateway router for my home network so there's not much on it. I didn't need to do that. However, I've found the ntop list to be useful, so it might be worthwhile subscribing to that for a while. Thanks, Drew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntop question
Denny White [EMAIL PROTECTED] writes: Installed ntop. ntop.sh in /usr/local/etc/rc.d, so starts automatically at boot. That part I understand. Couldn't find where there's any conf file for it. Read all over google in mailing lists. So, question is, I simply have to move the script out of /usr/local/etc/rc.d to no longer have it run automatically? Correct? Just remove the executable bit from it (chmod gou-x /usr/local/etc/rc.d/ntop.sh) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntop question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denny White [EMAIL PROTECTED] writes: Installed ntop. ntop.sh in /usr/local/etc/rc.d, so starts automatically at boot. That part I understand. Couldn't find where there's any conf file for it. Read all over google in mailing lists. So, question is, I simply have to move the script out of /usr/local/etc/rc.d to no longer have it run automatically? Correct? Today Lowell Gilbert contributed the following: Just remove the executable bit from it (chmod gou-x /usr/local/etc/rc.d/ntop.sh) Hey Lowell, Thanks for replying. Funny thing is, after it installed from ports, it didn't have the executable bit set on it. I saw it complain when I was booting in dmesg, and that's when I set it executable. Still want to learn how to use it properly, so I didn't uninstall it. I just moved the script out /usr/local/etc/rc.d so it won't start auto. Thanks for the help. Denny White GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) Comment: Made with pgp4pine 1.76 iD8DBQFDLDC0y0Ty5RZE55oRAkbkAJ4hm0ocHqNE8SyHpNInGCYVMwqzJQCeMyof O1HSoyY6c5HEnI1z5c0A41I= =/yNw -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntop question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Installed ntop. ntop.sh in /usr/local/etc/rc.d, so starts automatically at boot. That part I understand. Couldn't find where there's any conf file for it. Read all over google in mailing lists. So, question is, I simply have to move the script out of /usr/local/etc/rc.d to no longer have it run automatically? Correct? I just wanted to use it to learn. Definitely do not have enough knowledge on it at present to be configuring running it as a daemon. Nor the memory/cpu resources on this old box. It really hogs cpu time doesn't take advantage of smp either, as far as I can tell from running top. Thanks for any advice/help. Denny White GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) Comment: Made with pgp4pine 1.76 iD8DBQFDKuS1y0Ty5RZE55oRAv/MAKCSB4CllTsUyN5iTrA/s0NZRqPy3ACgk161 Tqa8l8so9vIBKe1oFqbGx6Q= =gssr -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still problems with ntop?
Matt Virus [EMAIL PROTECTED] writes: I see bug reports and broken port notifications. I get an error when compiling from source cannot find -lmyrrd I have rrdtool installed, i even uninstalled it and reverted to the older version and still no dice. *shrug* anybody got anything? The port (from cvs yesterday) builds and runs for me... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Still problems with ntop?
I see bug reports and broken port notifications. I get an error when compiling from source cannot find -lmyrrd I have rrdtool installed, i even uninstalled it and reverted to the older version and still no dice. *shrug* anybody got anything? -- Matt Virus (veer-iss) http://www.mattvirus.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTOP
Warren wrote: will NTOP monitor SNMP or is it strictly local ? OS: FreeBSD 5.4-STABLE ntop is not about SNMP, it's about packet capture. It's a passive listener which analyses traffic flow and makes nice pictures about it via an embedded web server. Excellent tool, but MRTG might be more of what you're looking for. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NTOP
will NTOP monitor SNMP or is it strictly local ? OS: FreeBSD 5.4-STABLE -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
+++ PK [freebsd] [31-07-05 22:34 -0400]: | | | I sent 3 mails to the port maintainer but I didn't get any replies. | That's very strange ! People prefer plain-text e-mails :). Shantanoo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
I sent 3 mails to the port maintainer but I didn't get any replies. That's very strange ! --- On Wed 07/27, Glenn Dawson [EMAIL PROTECTED] wrote: From: Glenn Dawson [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 27 Jul 2005 08:10:40 -0700 Subject: Re: cannot install ntop under freeBSD 5.5 At 07:05 AM 7/27/2005, you wrote:brbrthanks,brbrnow it works, but how can I get later XML Plugin running with ntop ?brI need it.brbrProbably the best thing to do is send an email to the port maintainer for brntop, and copy the maintainer for libxml2. I looked at it enough to see brthat there was a problem there, but I didn't spend the time to find out if brit was the fault of ntop, or the xml library.brbrlooks like the maintainer for ntop port is [EMAIL PROTECTED]brbrand for libxml2 port is [EMAIL PROTECTED]brbr-Glennbrbrbrgreetingsbrpiotrbrbrbr --- On Wed 07/27, Glenn Dawson [EMAIL PROTECTED] wrote:brFrom: Glenn Dawson [mailto: [EMAIL PROTECTED]brTo: [EMAIL PROTECTED]brDate: Wed, 27 Jul 2005 06:19:53 -0700brSubject: Re: cannot install ntop under freeBSD 5.5brbrAt 06:18 AM 7/27/2005, you wrote:brbrthanks,brbrbut now I get brrrd disaster:brbryeah...just delete the rrdtool port and reinstall brafter you've built ntop.brbr-Glennbrbrbrrm -f br.libs/rrdPlugin.lobrcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. br-I/usr/local/include -I/usr/include br-I../myrrd -DFREEBSD br-I/usr/local/include -I/usr/include br-I/usr/local/include br-I/usr/local/include -I/usr/local/include br-I/usr/include br-I/usr/include -g -O -pipe -I/usr/local/include -g -Wshadow brbr-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations brbr-Wnested-externs -fPIC -MT rrdPlugin.lo -MD -MP -MF br.deps/rrdPlugin.Tpo -c brrrdPlugin.c -fPIC -DPIC -o br.libs/rrdPlugin.lobrrrdPlugin.c: In function br`graphCounter':brrrdPlugin.c:583: error: too few arguments to function br`rrd_graph'brrrdPlugin.c: In function br`netflowSummary':brrrdPlugin.c:728: error: too few arguments to brfunction `rrd_graph'brrrdPlugin.c: In functionbr`graphSummary':brrrdPlugin.c:926: error: too few arguments to function br`rrd_graph'brgmake[3]: *** [rrdPlugin.lo] Error 1brgmake[3]: Leaving brdirectory `/usr/ports/net/ntop/work/ntop/plugins'brgmake[2]: *** br[all-recursive] Error 1brgmake[2]: Leaving directory br`/usr/ports/net/ntop/work/ntop/plugins'brgmake[1]: *** [all-recursive] brError 1brgmake[1]: Leaving directory br`/usr/ports/net/ntop/work/ntop'brgmake: *** [all] Error 2br*** Error brcode 2brbrStop in /usr/ports/net/ntop.br*** Error code br1brbrI cannot use both at the same time:brbrmake rmconfig in br/usr/ports/net/ntopbrbrand this patch in /usr/ports/net/ntop/files brto correct rrd:brbr--- ntop.h.orig Tue Jul 26 03:39:16 2005br+++ brntop.h Tue Jul 26 03:39:29 2005br@@ -447,7 +447,7 br@@br #endifbrbr #ifndef EMBEDDEDbr-#include brrrd.hbr+#include myrrd/rrd.hbr #endifbrbr #ifdef brHAVE_GETOPT_Hbrbrbrthis patch should solve rrdPluginbrdisaster.brbrgreetingsbrpiotrbrbrbrbrbrbrbr br--- On Wed 07/27, Glenn Dawson [EMAIL PROTECTED] wrote:brFrom: brGlenn Dawson [mailto: [EMAIL PROTECTED]brTo: br[EMAIL PROTECTED]brDate: Wed, 27 Jul 2005 05:39:36 -0700brSubject: brRe: cannot install ntop under freeBSD 5.5brbrAt 04:36 AM 7/27/2005, bryou wrote:brbrand howto build ntop without XML brplugin br?brbrJust do make rmconfig in /usr/ports/net/ntopbrbrThen brbrwhen you do make install clean it should prompt you with a menu of brbrbroptional components. XML should be turned off by default, so if bryou brjust braccept the defaults, it should build without brbrerror.brbr-Glennbrbrbrbrbrbr --- On Mon 07/25, brGlenn brDawson [EMAIL PROTECTED] wrote:brFrom: Glenn Dawson br[mailto: br[EMAIL PROTECTED]brTo: [EMAIL PROTECTED], brbrfreebsd-questions@freebsd.orgbr Cc: brbr[EMAIL PROTECTED]brDate: Mon,br25 Jul 2005 17:34:13 br-0700brSubject: Re: cannot install ntop under brfreeBSD 5.5brbrAt br12:17 PM 7/25/2005, PK brwrote:brbrhibrbrI did what you brbrsuggested.brI've brdeinstalled rrdtool completely, tried install brntop but brnow I get brbrfollowing horrible brbrbrerrors:brbrbrxmldumpPlugin.c:36:2: brwarning:brbr#warningbrxmldumpPlugin.c:37:2: warning: #warning brbrbrbr===brxmldumpPlugin.c:38:2: brbrbrwarning: #warningbrxmldumpPlugin.c:39:2: warning: #warning brThe brinclude brof gdome.h that brfollows will generate a lot brbrbrofbrxmldumpPlugin.c:40:2: warning: #warning compile warnings brabout brbr'shadows a brglobal brdeclaration'.brxmldumpPlugin.c:41:2: brwarning: br#warning brUnfortunately, it's the way this brcrud is coded brand brbrcan'tbrxmldumpPlugin.c:42:2: warning: #warning be fixed. Just brbrignorebrbrthem!brxmldumpPlugin.c:43:2: warning: brbrbr#warningbrbr[snip]brbrbrIn file included from brbrbrxmldumpPlugin.c:1730:brxml_g_intf.inc: In function brbrbr`dumpXML_interfaces':brxml_g_intf.inc:33: warning: brbrnestedbrextern
Re: cannot install ntop under freeBSD 5.5
and howto build ntop without XML plugin ? --- On Mon 07/25, Glenn Dawson [EMAIL PROTECTED] wrote: From: Glenn Dawson [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Date: Mon, 25 Jul 2005 17:34:13 -0700 Subject: Re: cannot install ntop under freeBSD 5.5 At 12:17 PM 7/25/2005, PK wrote:brbrhibrbrI did what you suggested.brI've deinstalled rrdtool completely, tried install ntop but now I get brfollowing horrible errors:brbrbrxmldumpPlugin.c:36:2: warning: #warningbrxmldumpPlugin.c:37:2: warning: #warning br===brxmldumpPlugin.c:38:2: warning: #warningbrxmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that brfollows will generate a lot ofbrxmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a brglobal declaration'.brxmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this brcrud is coded and can'tbrxmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them!brxmldumpPlugin.c:43:2: warning: #warningbrbr[snip]brbrbrIn file included from xmldumpPlugin.c:1730:brxml_g_intf.inc: In function `dumpXML_interfaces':brxml_g_intf.inc:33: warning: nested extern declaration of `BufferTooShort'brgmake[3]: *** [xmldumpPlugin.lo] Error 1brgmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'brgmake[2]: *** [all-recursive] Error 1brgmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'brgmake[1]: *** [all-recursive] Error 1brgmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop'brgmake: *** [all] Error 2br*** Error code 2brbrStop in /usr/ports/net/ntop.brbrbrIt must be a BUG in the ntop port.brbrThe problem is in the XML plugin. If you don't need that, ntop will build brproperly without the XML plugin.brbr-Glennbrbrbrgreetingsbrpiotrbrbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
thanks, but now I get rrd disaster: rm -f .libs/rrdPlugin.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/include -I../myrrd -DFREEBSD -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -g -O -pipe -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -MT rrdPlugin.lo -MD -MP -MF .deps/rrdPlugin.Tpo -c rrdPlugin.c -fPIC -DPIC -o .libs/rrdPlugin.lo rrdPlugin.c: In function `graphCounter': rrdPlugin.c:583: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `netflowSummary': rrdPlugin.c:728: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `graphSummary': rrdPlugin.c:926: error: too few arguments to function `rrd_graph' gmake[3]: *** [rrdPlugin.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. *** Error code 1 I cannot use both at the same time: make rmconfig in /usr/ports/net/ntop and this patch in /usr/ports/net/ntop/files to correct rrd: --- ntop.h.orig Tue Jul 26 03:39:16 2005 +++ ntop.h Tue Jul 26 03:39:29 2005 @@ -447,7 +447,7 @@ #endif #ifndef EMBEDDED -#include rrd.h +#include myrrd/rrd.h #endif #ifdef HAVE_GETOPT_H this patch should solve rrdPlugin disaster. greetings piotr --- On Wed 07/27, Glenn Dawson [EMAIL PROTECTED] wrote: From: Glenn Dawson [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 27 Jul 2005 05:39:36 -0700 Subject: Re: cannot install ntop under freeBSD 5.5 At 04:36 AM 7/27/2005, you wrote:brbrand howto build ntop without XML plugin ?brbrJust do make rmconfig in /usr/ports/net/ntopbrbrThen when you do make install clean it should prompt you with a menu of broptional components. XML should be turned off by default, so if you just braccept the defaults, it should build without error.brbr-Glennbrbrbrbrbrbr --- On Mon 07/25, Glenn Dawson [EMAIL PROTECTED] wrote:brFrom: Glenn Dawson [mailto: [EMAIL PROTECTED]brTo: [EMAIL PROTECTED], freebsd-questions@freebsd.orgbr Cc: [EMAIL PROTECTED]brDate: Mon, 25 Jul 2005 17:34:13 -0700brSubject: Re: cannot install ntop under freeBSD 5.5brbrAt 12:17 PM 7/25/2005, PK wrote:brbrhibrbrI did what you brsuggested.brI've deinstalled rrdtool completely, tried install ntop but brnow I get brfollowing horrible brerrors:brbrbrxmldumpPlugin.c:36:2: warning: br#warningbrxmldumpPlugin.c:37:2: warning: #warning brbr===brxmldumpPlugin.c:38:2: brwarning: #warningbrxmldumpPlugin.c:39:2: warning: #warning The include brof gdome.h that brfollows will generate a lot brofbrxmldumpPlugin.c:40:2: warning: #warning compile warnings about br'shadows a brglobal declaration'.brxmldumpPlugin.c:41:2: warning: br#warning Unfortunately, it's the way this brcrud is coded and brcan'tbrxmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore brthem!brxmldumpPlugin.c:43:2: warning: br#warningbrbr[snip]brbrbrIn file included from brxmldumpPlugin.c:1730:brxml_g_intf.inc: In function br`dumpXML_interfaces':brxml_g_intf.inc:33: warning: nestedbrextern declaration of `BufferTooShort'brgmake[3]: *** br[xmldumpPlugin.lo] Error 1brgmake[3]: Leaving directory br`/usr/ports/net/ntop/work/ntop/plugins'brgmake[2]: *** [all-recursive] brError 1brgmake[2]: Leaving directory br`/usr/ports/net/ntop/work/ntop/plugins'brgmake[1]: *** [all-recursive] brError 1brgmake[1]: Leaving directory br`/usr/ports/net/ntop/work/ntop'brgmake: *** [all] Error 2br*** Error brcode 2brbrStop in /usr/ports/net/ntop.brbrbrIt must be a brBUG in the ntop port.brbrThe problem is in the XML plugin. If you brdon't need that, ntop will build brproperly without the XML brplugin.brbr-Glennbrbrbrgreetingsbrpiotrbrbrbrbr___brJoin Excite! - http://www.excite.combrThe most personalized portal on the Web!brbr---brbrWe've checked and double checked, it keeps coming up the same thing.brThe message is Mars needs women. brbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
hi I did what you suggested. I've deinstalled rrdtool completely, tried install ntop but now I get following horrible errors: xmldumpPlugin.c:36:2: warning: #warning xmldumpPlugin.c:37:2: warning: #warning === xmldumpPlugin.c:38:2: warning: #warning xmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that follows will generate a lot of xmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a global declaration'. xmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this crud is coded and can't xmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them! xmldumpPlugin.c:43:2: warning: #warning In file included from /usr/local/include/glib-2.0/glib.h:69, from /usr/local/include/libgdome/gdome.h:27, from xmldumpPlugin.c:44: /usr/local/include/glib-2.0/glib/gthreadpool.h:88: warning: declaration of 'wait' shadows a global declaration /usr/include/sys/wait.h:103: warning: shadowed declaration is here In file included from xmldumpPlugin.c:44: /usr/local/include/libgdome/gdome.h:264: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:331: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:483: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:585: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:649: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:694: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:739: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:783: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:801: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:857: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:893: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:935: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:977: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1013: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1033: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1044: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1073: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1112: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here xmldumpPlugin.c:45:2: warning: #warning xmldumpPlugin.c:46:2: warning: #warning === xmldumpPlugin.c:47:2: warning: #warning In file included from xmldumpPlugin.c:1165: xml_s_ntopinterface.inc: In function `newxml_ntopinterface': xml_s_ntopinterface.inc:494: warning: nested extern declaration of `BufferTooShort' xml_s_ntopinterface.inc:529: warning: nested extern declaration of `BufferTooShort' xml_s_ntopinterface.inc:565: warning: nested extern declaration of `BufferTooShort' In file included from xmldumpPlugin.c:1429: xml_s_simpleprototrafficinfo.inc: In function `newxml_simpleprototrafficinfo': xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named `lastLocal' xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named `lastLocal' xml_s_simpleprototrafficinfo.inc:52: error: structure has no member named
Re: cannot install ntop under freeBSD 5.5
hi It must be a BUG in the freeBSD 5.4 ntop port ! greetings Piotr --- On Mon 07/25, Giorgos Keramidas [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Mon, 25 Jul 2005 13:20:05 +0300 Subject: Re: cannot install ntop under freeBSD 5.5 On 2005-07-24 20:14, PK [EMAIL PROTECTED] wrote:brbr hibrbr I have exact the same problem and get the same errors.brbr to clean a port, reinstall or upgrade ntop or rrdtool doesn't help.brbrStrange. I did build ntop on 6.0-CURRENT a few days before the switchbrto 7.0-CURRENT was made. I haven't tried to build ntop on 5.X though,brso this may be the problem.brbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
At 05:03 AM 7/25/2005, PK wrote: hi It must be a BUG in the freeBSD 5.4 ntop port ! greetings Piotr The problem you are seeing is because the rrd plugin that's part of ntop is supplying 5 argument to the rrd_graph() function. Which is ok for the versions of rrd that are bundled with ntop. However, if you have the rrdtools port installed, it's version of rrd_graph() is expecting 8 arguments. The error you are getting is because the prototype for rrd_graph() that comes with rrdtools does not match how ntop is calling it. To get around the problem, you can remove the rrdtool port, and then ntop should build without errors. If you're using rrdtool you can probably reinstall it once ntop is built. That may cause a problem if rrdtool installs any shared libraries that ntop uses. -Glenn --- On Mon 07/25, Giorgos Keramidas [EMAIL PROTECTED] wrote: From: Giorgos Keramidas [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Mon, 25 Jul 2005 13:20:05 +0300 Subject: Re: cannot install ntop under freeBSD 5.5 On 2005-07-24 20:14, PK [EMAIL PROTECTED] wrote:brbr hibrbr I have exact the same problem and get the same errors.brbr to clean a port, reinstall or upgrade ntop or rrdtool doesn't help.brbrStrange. I did build ntop on 6.0-CURRENT a few days before the switchbrto 7.0-CURRENT was made. I haven't tried to build ntop on 5.X though,brso this may be the problem.brbr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
hi I did what you suggested. I've deinstalled rrdtool completely, tried install ntop but now I get following horrible errors: xmldumpPlugin.c:36:2: warning: #warning xmldumpPlugin.c:37:2: warning: #warning === xmldumpPlugin.c:38:2: warning: #warning xmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that follows will generate a lot of xmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a global declaration'. xmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this crud is coded and can't xmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them! xmldumpPlugin.c:43:2: warning: #warning In file included from /usr/local/include/glib-2.0/glib.h:69, from /usr/local/include/libgdome/gdome.h:27, from xmldumpPlugin.c:44: /usr/local/include/glib-2.0/glib/gthreadpool.h:88: warning: declaration of 'wait' shadows a global declaration /usr/include/sys/wait.h:103: warning: shadowed declaration is here In file included from xmldumpPlugin.c:44: /usr/local/include/libgdome/gdome.h:264: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:331: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:483: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:585: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:649: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:694: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:739: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:783: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:801: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:857: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:893: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:935: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:977: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1013: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1033: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1044: warning: declaration of 'index' shadows a global declaration /usr/include/strings.h:50: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1073: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/local/include/libgdome/gdome.h:1112: warning: declaration of 'version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here xmldumpPlugin.c:45:2: warning: #warning xmldumpPlugin.c:46:2: warning: #warning === xmldumpPlugin.c:47:2: warning: #warning In file included from xmldumpPlugin.c:1165: xml_s_ntopinterface.inc: In function `newxml_ntopinterface': xml_s_ntopinterface.inc:494: warning: nested extern declaration of `BufferTooShort' xml_s_ntopinterface.inc:529: warning: nested extern declaration of `BufferTooShort' xml_s_ntopinterface.inc:565: warning: nested extern declaration of `BufferTooShort' In file included from xmldumpPlugin.c:1429: xml_s_simpleprototrafficinfo.inc: In function `newxml_simpleprototrafficinfo': xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named `lastLocal' xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named `lastLocal' xml_s_simpleprototrafficinfo.inc:52: error: structure has no member named `lastLocal2remote
Re: cannot install ntop under freeBSD 5.5
At 12:17 PM 7/25/2005, PK wrote: hi I did what you suggested. I've deinstalled rrdtool completely, tried install ntop but now I get following horrible errors: xmldumpPlugin.c:36:2: warning: #warning xmldumpPlugin.c:37:2: warning: #warning === xmldumpPlugin.c:38:2: warning: #warning xmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that follows will generate a lot of xmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a global declaration'. xmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this crud is coded and can't xmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them! xmldumpPlugin.c:43:2: warning: #warning [snip] In file included from xmldumpPlugin.c:1730: xml_g_intf.inc: In function `dumpXML_interfaces': xml_g_intf.inc:33: warning: nested extern declaration of `BufferTooShort' gmake[3]: *** [xmldumpPlugin.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. It must be a BUG in the ntop port. The problem is in the XML plugin. If you don't need that, ntop will build properly without the XML plugin. -Glenn greetings piotr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
hi I have exact the same problem and get the same errors. to clean a port, reinstall or upgrade ntop or rrdtool doesn't help. I've done: portupgrade -a -N -vu -R net/ntop and portupgrade -a -N -vu -r net/ntop did ports tree update again but still get errors ! on other hardware with fresh installation, I get the same errors. this is a horrible port BUG ! kind regards piotr --- On Sat 07/23, PK [EMAIL PROTECTED] wrote: From: PK [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Sat, 23 Jul 2005 12:24:52 -0400 (EDT) Subject: Re: cannot install ntop under freeBSD 5.5 brthanksbrbrI've done:brbrportupgrade -a -N -vu -R net/ntopbrbrand was running more then 4 days !brI've got following outputs:br--- Upgrade of multimedia/kdemultimedia3 ended at: Sat, 23 Jul 2005 18:03:03 +0200 (consumed 04:15:30)br--- Skipping 'x11/kde3' (kde-3.4.0) because a requisite package 'kdepim-3.4.0' (deskutils/kdepim3) failed (specify -k to force)br--- Listing the results (+:done / -:ignored / *:skipped / !:failed)br- audio/artswrapper (artswrapper-1.2.1_1)br - misc/compat4x (compat4x-i386-5.3_2)br- security/cyrus-sasl2 (cyrus-sasl-2.1.21)br- databases/db4 (db4-4.0.14_1,1)br- net/sniffit (sniffit-0.3.7b_2)br- lang/python (python-2.4.1_1)br - archivers/zip (zip-2.3_2)br- misc/kdehier (kdehier-1.0_6)br - benchmarks/ttcp (ttcp-1.12)br- lang/perl5.8 (perl-5.8.7)br - net/rsync (rsync-2.6.5)br- devel/libtool15 (libtool-1.5.18)br - graphics/jpeg (jpeg-6b_3)br- graphics/png (png-1.2.8_2)br - www/tidy (tidy-2804_2)br- databases/mysql41-client (mysql-client-4.1.12)br- archivers/unzip (unzip-5.52_1)br- java/javavmwrapper (javavmwrapper-2.0_5)br- textproc/expat2 (expat-1.95.8_3)br- lang/ruby18 (ruby-1.8.2_4)br- devel/cgilib (cgilib-0.5)br- security/p5-Authen-PAM (p5-Authen-PAM-0.14)br- misc/bsdiff (bsdiff-4.2)br- databases/ruby-bdb (ruby18-bdb4-0.5.3)br- sysutils/freebsd-sha256 (freebsd-sha256-20050310)br- net/openslp (openslp-1.2.1_1)br - devel/boost-python (boost-python-1.32.0_2)br- converters/libiconv (libiconv-1.9.2_1)br- print/gsfonts (gsfonts-8.11_2)br- databases/db42 (db42-4.2.52_4)br- security/p5-Net-SSLeay (p5-Net-SSLeay-1.25)br- sysutils/webmin (webmin-1.210_2)br- databases/ruby-bdb1 (ruby18-bdb1-0.2.2)br- security/freebsd-update (freebsd-update-1.6_1)br- print/libpaper (libpaper-1.1.14.3)br - devel/pcre (pcre-5.0)br- www/neon (neon-0.24.7)br- devel/m4 (m4-1.4.3)br- textproc/man2html (man2html-3.0.1_1)br - graphics/tiff (tiff-3.7.3)br- devel/autoconf213 (autoconf-2.13.000227_5)br- graphics/lcms (lcms-1.14,1)br- devel/libgnugetopt (libgnugetopt-1.2)br- mail/postfix (postfix-2.2.4_1,1)br- net/openldap22-client (openldap-client-2.2.27)br- sysutils/portupgrade (portupgrade-20041226_5)br- graphics/libmng (libmng-1.0.8)br - net/cvsup-without-gui (cvsup-without-gui-16.1h_2)br- palm/pilot-link (pilot-link-0.11.8_3)br- audio/libogg (libogg-1.1.2_1,3)br- audio/speex (speex-1.0.5,1)br- devel/imake-6 (imake-6.8.2)br- textproc/p5-XML-Parser (p5-XML-Parser-2.34_1)br - x11/xorg-documents (xorg-documents-6.8.2)br- devel/libusb (libusb-0.1.10a)br- audio/flac (flac-1.1.2)br- devel/automake14 (automake-1.4.6_2)br- security/nmap (nmap-3.81)br - graphics/jasper (jasper-1.701.0)br- devel/gettext (gettext-0.14.5)br- devel/popt (popt-1.7)br- devel/bison (bison-1.75_2)br- security/libgpg-error (libgpg-error-1.0_1)br + security/libgcrypt (libgcrypt-1.2.1)br- shells/bash (bash-3.0.16_1)br- net/libpcap (libpcap-0.8.3)br- audio/libvorbis (libvorbis-1.1.1,3)br- multimedia/libtheora (libtheora-1.0.a4)br- devel/gmake (gmake-3.80_2)br- textproc/intltool (intltool-0.33)br- net/mDNSResponder (mDNSResponder-107.1_1)br- devel/autoconf259 (autoconf-2.59_2)br - net/samba-libsmbclient (samba-libsmbclient-3.0.14a_2)br- devel/automake19 (automake-1.9.5)br- audio/portaudio (portaudio-18.1_2)br- sysutils/logrotate (logrotate-3.7_4)br- www/apache2 (apache-2.0.54)br- lang/php4 (php4-4.4.0)br- textproc/php4-xml (php4-xml-4.4.0)br - databases/php4-mysql (php4-mysql-4.4.0)br- audio/cdparanoia (cdparanoia-3.9.8_7)br- devel/pkgconfig (pkgconfig-0.17.2)br + devel/libidn (libidn-0.5.15)br- devel/libstatgrab (libstatgrab-0.11.1)br- math/fftw3 (fftw3-3.0.1_4)br- security/gnutls (gnutls-1.0.24_1)br
Re: cannot install ntop under freeBSD 5.5
thanks I've done: portupgrade -a -N -vu -R net/ntop and was running more then 4 days ! I've got following outputs: --- Upgrade of multimedia/kdemultimedia3 ended at: Sat, 23 Jul 2005 18:03:03 +0200 (consumed 04:15:30) --- Skipping 'x11/kde3' (kde-3.4.0) because a requisite package 'kdepim-3.4.0' (deskutils/kdepim3) failed (specify -k to force) --- Listing the results (+:done / -:ignored / *:skipped / !:failed) - audio/artswrapper (artswrapper-1.2.1_1) - misc/compat4x (compat4x-i386-5.3_2) - security/cyrus-sasl2 (cyrus-sasl-2.1.21) - databases/db4 (db4-4.0.14_1,1) - net/sniffit (sniffit-0.3.7b_2) - lang/python (python-2.4.1_1) - archivers/zip (zip-2.3_2) - misc/kdehier (kdehier-1.0_6) - benchmarks/ttcp (ttcp-1.12) - lang/perl5.8 (perl-5.8.7) - net/rsync (rsync-2.6.5) - devel/libtool15 (libtool-1.5.18) - graphics/jpeg (jpeg-6b_3) - graphics/png (png-1.2.8_2) - www/tidy (tidy-2804_2) - databases/mysql41-client (mysql-client-4.1.12) - archivers/unzip (unzip-5.52_1) - java/javavmwrapper (javavmwrapper-2.0_5) - textproc/expat2 (expat-1.95.8_3) - lang/ruby18 (ruby-1.8.2_4) - devel/cgilib (cgilib-0.5) - security/p5-Authen-PAM (p5-Authen-PAM-0.14) - misc/bsdiff (bsdiff-4.2) - databases/ruby-bdb (ruby18-bdb4-0.5.3) - sysutils/freebsd-sha256 (freebsd-sha256-20050310) - net/openslp (openslp-1.2.1_1) - devel/boost-python (boost-python-1.32.0_2) - converters/libiconv (libiconv-1.9.2_1) - print/gsfonts (gsfonts-8.11_2) - databases/db42 (db42-4.2.52_4) - security/p5-Net-SSLeay (p5-Net-SSLeay-1.25) - sysutils/webmin (webmin-1.210_2) - databases/ruby-bdb1 (ruby18-bdb1-0.2.2) - security/freebsd-update (freebsd-update-1.6_1) - print/libpaper (libpaper-1.1.14.3) - devel/pcre (pcre-5.0) - www/neon (neon-0.24.7) - devel/m4 (m4-1.4.3) - textproc/man2html (man2html-3.0.1_1) - graphics/tiff (tiff-3.7.3) - devel/autoconf213 (autoconf-2.13.000227_5) - graphics/lcms (lcms-1.14,1) - devel/libgnugetopt (libgnugetopt-1.2) - mail/postfix (postfix-2.2.4_1,1) - net/openldap22-client (openldap-client-2.2.27) - sysutils/portupgrade (portupgrade-20041226_5) - graphics/libmng (libmng-1.0.8) - net/cvsup-without-gui (cvsup-without-gui-16.1h_2) - palm/pilot-link (pilot-link-0.11.8_3) - audio/libogg (libogg-1.1.2_1,3) - audio/speex (speex-1.0.5,1) - devel/imake-6 (imake-6.8.2) - textproc/p5-XML-Parser (p5-XML-Parser-2.34_1) - x11/xorg-documents (xorg-documents-6.8.2) - devel/libusb (libusb-0.1.10a) - audio/flac (flac-1.1.2) - devel/automake14 (automake-1.4.6_2) - security/nmap (nmap-3.81) - graphics/jasper (jasper-1.701.0) - devel/gettext (gettext-0.14.5) - devel/popt (popt-1.7) - devel/bison (bison-1.75_2) - security/libgpg-error (libgpg-error-1.0_1) + security/libgcrypt (libgcrypt-1.2.1) - shells/bash (bash-3.0.16_1) - net/libpcap (libpcap-0.8.3) - audio/libvorbis (libvorbis-1.1.1,3) - multimedia/libtheora (libtheora-1.0.a4) - devel/gmake (gmake-3.80_2) - textproc/intltool (intltool-0.33) - net/mDNSResponder (mDNSResponder-107.1_1) - devel/autoconf259 (autoconf-2.59_2) - net/samba-libsmbclient (samba-libsmbclient-3.0.14a_2) - devel/automake19 (automake-1.9.5) - audio/portaudio (portaudio-18.1_2) - sysutils/logrotate (logrotate-3.7_4) - www/apache2 (apache-2.0.54) - lang/php4 (php4-4.4.0) - textproc/php4-xml (php4-xml-4.4.0) - databases/php4-mysql (php4-mysql-4.4.0) - audio/cdparanoia (cdparanoia-3.9.8_7) - devel/pkgconfig (pkgconfig-0.17.2) + devel/libidn (libidn-0.5.15) - devel/libstatgrab (libstatgrab-0.11.1) - math/fftw3 (fftw3-3.0.1_4) - security/gnutls (gnutls-1.0.24_1) - audio/libsndfile (libsndfile-1.0.11) - print/freetype2 (freetype2-2.1.10) + devel/glib20 (glib-2.6.3_1) - devel/desktop-file-utils (desktop-file-utils-0.10_2) + security/gnupg (gnupg-1.4.0_1) - audio/libaudiofile (libaudiofile-0.2.6) - accessibility/atk (atk-1.9.1) - x11-fonts/fontconfig (fontconfig-2.2.3,1) - textproc/libxml2 (libxml2-2.6.20) - devel/libgsf (libgsf-1.11.1) - audio/libsamplerate (libsamplerate-0.1.2) - textproc/libxslt (libxslt-1.1.14) - sysutils/freecolor (freecolor-0.8.4) - dns/adns (adns-1.1) - www/php4-session (php4-session-4.4.0) - x11/xorg-libraries (xorg-libraries-6.8.2) - graphics/libglut (libglut-6.0.1) - x11-servers
Re: cannot install ntop under freeBSD 5.5
PK [EMAIL PROTECTED] writes: sorry I mean freeBSD 5.4 I have the newest ports tree update and I've cleaned the ntop port directory before building. It still doesn't work and I get the same errors. Well, whatever wrong is particular to your machine, because no one else has seen this problem. If you want to try to figure out what, you can start with the advice I gave in my earlier message, about analyzing the compiler error. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
hi did you install ntop on your freeBSD 5.4 without any errors ? under freeBSD 5.2.1 on the same hardware I didn't have any problems with ntop installation. I have cleand ntop rrdtool ports, reinstalled again, but still get this errors: MP -MF .deps/rrdPlugin.Tpo -c rrdPlugin.c -fPIC -DPIC -o .libs/rrdPlugin.lo rrdPlugin.c: In function `graphCounter': rrdPlugin.c:583: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `netflowSummary': rrdPlugin.c:728: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `graphSummary': rrdPlugin.c:926: error: too few arguments to function `rrd_graph' gmake[3]: *** [rrdPlugin.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade26423.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net/ntop (ntop-3.1_1) (compiler error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- On Wed 07/20, Lowell Gilbert [EMAIL PROTECTED] wrote: From: Lowell Gilbert [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: 20 Jul 2005 16:32:37 -0400 Subject: Re: cannot install ntop under freeBSD 5.5 PK [EMAIL PROTECTED] writes:brbr sorry I mean freeBSD 5.4 br br I have the newest ports tree update and I've cleaned the ntop port directory before building.br br It still doesn't work and I get the same errors.brbrWell, whatever wrong is particular to your machine, because no onebrelse has seen this problem. If you want to try to figure out what,bryou can start with the advice I gave in my earlier message, aboutbranalyzing the compiler error.br ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
On 2005-07-20 19:10, PK [EMAIL PROTECTED] wrote: hi did you install ntop on your freeBSD 5.4 without any errors ? under freeBSD 5.2.1 on the same hardware I didn't have any problems with ntop installation. I have cleand ntop rrdtool ports, reinstalled again, but still get this errors: MP -MF .deps/rrdPlugin.Tpo -c rrdPlugin.c -fPIC -DPIC -o .libs/rrdPlugin.lo rrdPlugin.c: In function `graphCounter': rrdPlugin.c:583: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `netflowSummary': rrdPlugin.c:728: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `graphSummary': rrdPlugin.c:926: error: too few arguments to function `rrd_graph' gmake[3]: *** [rrdPlugin.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade26423.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net/ntop (ntop-3.1_1) (compiler error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Are you sure you have an up to date ports tree and there are no stale work directories in it? Have you installed the latest version of rrdtool? Apparently, you are using portupgrade. Try updating both the dependencies of ntop and the packages that depend on ntop: # portupgrade -a -N -vu -R net/ntop # portupgrade -a -N -vu -r net/ntop ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
PK [EMAIL PROTECTED] writes: If I try to install ntop from ports, I get following errors: rrdPlugin.c: In function `graphCounter': rrdPlugin.c:583: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `netflowSummary': rrdPlugin.c:728: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `graphSummary': rrdPlugin.c:926: error: too few arguments to function `rrd_graph' gmake[3]: *** [rrdPlugin.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. *** Error code 1 Stop in /usr/ports/net/ntop. knows someone, howto solve this problem ? I have the newest ports tree update and rrdtool is already updatet. There is no FreeBSD 5.5 yet, so I'm not sure what you have. Did you clean your ntop port directory before building? rrd_graph is supposed to take 5 parameters (I updated my ports tree this morning). Make sure it does so in that file and in rrd.h. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot install ntop under freeBSD 5.5
sorry I mean freeBSD 5.4 I have the newest ports tree update and I've cleaned the ntop port directory before building. It still doesn't work and I get the same errors. kind regards piotr --- On Tue 07/19, Lowell Gilbert [EMAIL PROTECTED] wrote: From: Lowell Gilbert [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED], freebsd-questions@freebsd.org Date: 19 Jul 2005 12:41:19 -0400 Subject: Re: cannot install ntop under freeBSD 5.5 PK [EMAIL PROTECTED] writes:brbr If I try to install ntop from ports, I get following errors:br br rrdPlugin.c: In function `graphCounter':br rrdPlugin.c:583: error: too few arguments to function `rrd_graph'br rrdPlugin.c: In function `netflowSummary':br rrdPlugin.c:728: error: too few arguments to function `rrd_graph'br rrdPlugin.c: In function `graphSummary':br rrdPlugin.c:926: error: too few arguments to function `rrd_graph'br gmake[3]: *** [rrdPlugin.lo] Error 1br gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'br gmake[2]: *** [all-recursive] Error 1br gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'br gmake[1]: *** [all-recursive] Error 1br gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop'br gmake: *** [all] Error 2br *** Error code 2br br Stop in /usr/ports/net/ntop.br *** Error code 1br br Stop in /usr/ports/net/ntop.br br knows someone, howto solve this problem ?br I have the newest ports tree update and rrdtool is already updatet.brbrThere is no FreeBSD 5.5 yet, so I'm not sure what you have.brDid you clean your ntop port directory before building?brbrrrd_graph is supposed to take 5 parameters (I updated my ports treebrthis morning). Make sure it does so in that file and in rrd.h.br ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cannot install ntop under freeBSD 5.5
hi If I try to install ntop from ports, I get following errors: rrdPlugin.c: In function `graphCounter': rrdPlugin.c:583: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `netflowSummary': rrdPlugin.c:728: error: too few arguments to function `rrd_graph' rrdPlugin.c: In function `graphSummary': rrdPlugin.c:926: error: too few arguments to function `rrd_graph' gmake[3]: *** [rrdPlugin.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/net/ntop. *** Error code 1 Stop in /usr/ports/net/ntop. knows someone, howto solve this problem ? I have the newest ports tree update and rrdtool is already updatet. greetings piotr ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd 5.2.1 Ntop 3.1 error....
cvsup'd my ports and installed ntop. Seems to work GREAT for about 5 minutes and then i get this error in my log: **ERROR** Reading packets on device 0 (xl0): 'read: Inappropriate ioctl for device' anybody else seen this ? -- Matt Virus (veer-iss) http://www.mattvirus.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd 5.2.1 Ntop 3.1 error....
matt virus wrote: cvsup'd my ports and installed ntop. Seems to work GREAT for about 5 minutes and then i get this error in my log: **ERROR** Reading packets on device 0 (xl0): 'read: Inappropriate ioctl for device' anybody else seen this ? further reading suggests there is a patch to download to patch this problem with 4.x distributions and inquires about the 5.x branch port/package being fixed. Seems as though the port skeleton does not apply the patch. Any plans of updating it? -- Matt Virus (veer-iss) http://www.mattvirus.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ntop Problem
I have been running Ntop for the last few weeks and each time it updates the CPU usage screams up to 70% and basically hangs my comp untill such time as it has finished updating the graph -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ntop Problem
On Wed, Feb 16, 2005 at 01:38:41AM +1000, Warren wrote: I have been running Ntop for the last few weeks and each time it updates the CPU usage screams up to 70% and basically hangs my comp untill such time as it has finished updating the graph This post didn't contain a question :) If your ntop is making your computer do too much work, run the process less often, run it with a niceness to reduce impact on other processes, etc. Kris pgpI1ZYSi5tBX.pgp Description: PGP signature
ntop 3.0 in daemon mode not working
Installed ntop 3.0 today, edited the ntop.sh shell script and when I run the script ntop launches and I can connect to the webserver interface. The frame cross the top loads, but when I click ANY link to look at the reports, i get a popup window that is blank. Ntop load -- top frame only loads - click link - new blank window pops up. Now -- if i just run /usr/local/bin/ntop (via a ssh session) ntop runs in interactive mode -- perfectly I thought a ha, that shellscript is just messed up so i run ntop with this: /usr/local/bin/ntop -d(as a daemon) and i get the same behavior as the shellscript - blank windows and empty new windows. Revert to /usr/local/bin/ntop (interactive) and it works perfectly again Anybody have suggestions??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntop 3.0 in daemon mode not working
Am Samstag, 16. Oktober 2004 20:13 schrieb matt virus: Installed ntop 3.0 today, edited the ntop.sh shell script and when I run the script ntop launches and I can connect to the webserver interface. The frame cross the top loads, but when I click ANY link to look at the reports, i get a popup window that is blank. Ntop load -- top frame only loads - click link - new blank window pops up. Now -- if i just run /usr/local/bin/ntop (via a ssh session) ntop runs in interactive mode -- perfectly I thought a ha, that shellscript is just messed up so i run ntop with this: /usr/local/bin/ntop -d(as a daemon) and i get the same behavior as the shellscript - blank windows and empty new windows. Revert to /usr/local/bin/ntop (interactive) and it works perfectly again Anybody have suggestions??? What OS version? 4.10-REL/-stable, 5.3-BETA, 6-current? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntop 3.0 in daemon mode not working
it's 4.7, with patches and updates applied as needed Emanuel Strobl wrote: What OS version? 4.10-REL/-stable, 5.3-BETA, 6-current? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntop question
Hi, I installed ntop 3.0 from the ports. I am running 5.2.1-10 But /usr/local/etc/rc.d/ntop.sh start does not create a daemon, . instead. ntop starts a connection to 131.114.21.22 on port 80. making a connection to that ip it appears its the website of Luca Deri himself. Very nice of course, but i hoped ntop would start sniffing and opening a webserver on port 3000. What is going on? Any hints? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntop constant segfaults
Perhaps this would be better on an ntop-specific list but due to how completely broken this applications apears to be I wondered if anyone else on FreeBSD has seen this.. Basically, on -STABLE, the net/ntop port just won't stay running for more than a few minutes without segfaulting like so: Aug 27 16:07:40 nubian ntop[85870]: ntop v.3.0 SourceForge .tgz MT (SSL) Aug 27 16:07:40 nubian ntop[85870]: Configured on Aug 26 2004 7:47:47, built on Aug 26 2004 07:48:58. Aug 27 16:07:40 nubian ntop[85870]: Copyright 1998-2004 by Luca Deri [EMAIL PROTECTED] Aug 27 16:07:40 nubian ntop[85870]: Get the freshest ntop from http://www.ntop.org/ Aug 27 16:07:40 nubian ntop[85870]: Initializing ntop Aug 27 16:07:40 nubian /kernel: sis0: promiscuous mode enabled Aug 27 16:07:40 nubian ntop[85870]: Checking sis0 for additional devices Aug 27 16:07:40 nubian ntop[85870]: Resetting traffic statistics for device sis0 Aug 27 16:07:40 nubian ntop[85870]: DLT: Device 0 [sis0] is 1, mtu 1514, header 14 Aug 27 16:07:40 nubian ntop[85870]: Initializing gdbm databases Aug 27 16:07:40 nubian ntop[85870]: Now running as requested user 'ntop' (1030:1030) Aug 27 16:07:40 nubian ntop[85870]: VENDOR: Loading MAC address table. Aug 27 16:07:40 nubian ntop[85870]: VENDOR: Checking for MAC address table file Aug 27 16:07:40 nubian ntop[85870]: VENDOR: File '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded Aug 27 16:07:40 nubian ntop[85870]: VENDOR: ntop continues ok Aug 27 16:07:40 nubian ntop[85870]: VENDOR: Checking for MAC address table file Aug 27 16:07:41 nubian ntop[85870]: VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' does not need to be reloaded Aug 27 16:07:41 nubian ntop[85870]: VENDOR: ntop continues ok Aug 27 16:07:41 nubian ntop[85870]: INIT: Parent process is exiting (this is normal) Aug 27 16:07:41 nubian ntop[85872]: INIT: Bye bye: I'm becoming a daemon... Aug 27 16:07:41 nubian ntop[85872]: Now running as a daemon Aug 27 16:07:41 nubian ntop[85872]: OSFP: Checking for OS fingerprint table file Aug 27 16:07:41 nubian ntop[85872]: OSFP: Loading file '/usr/local/etc/ntop/etter.passive.os.fp.gz' Aug 27 16:07:41 nubian ntop[85872]: ASN: Checking for Autonomous System Number table file Aug 27 16:07:41 nubian ntop[85872]: **WARNING** ASN: Unable to open file 'AS-list.txt' Aug 27 16:07:41 nubian ntop[85872]: I18N: This instance of ntop does not support multiple languages Aug 27 16:07:41 nubian ntop[85872]: IP2CC: Checking for IP address - Country Code mapping file Aug 27 16:07:41 nubian ntop[85872]: IP2CC: Loading file '/usr/local/etc/ntop/p2c.opt.table.gz' Aug 27 16:07:43 nubian ntop[85872]: IP2CC: ...found 52395 lines Aug 27 16:07:43 nubian ntop[85872]: GDVERCHK: Guessing at libgd version Aug 27 16:07:43 nubian ntop[85872]: GDVERCHK: ... as 2.0.21+ Aug 27 16:07:43 nubian ntop[85872]: Initializing external applications Aug 27 16:07:43 nubian ntop[85872]: Initializing semaphores, mutexes and threads Aug 27 16:07:43 nubian ntop[85872]: THREADMGMT: Started thread (134577152) for network packet analyser Aug 27 16:07:43 nubian ntop[85872]: THREADMGMT: Started thread (135754752) for fingerprinting Aug 27 16:07:43 nubian ntop[85872]: THREADMGMT: Started thread (135755776) for idle hosts detection Aug 27 16:07:43 nubian ntop[85872]: THREADMGMT: Started thread (135756800) for DNS address resolution Aug 27 16:07:43 nubian ntop[85872]: Calling plugin start functions (if any) Aug 27 16:07:43 nubian ntop[85872]: Sniffying... Aug 27 16:07:43 nubian ntop[85872]: INIT: Created pid file (/var/db/ntop/ntop.pid) Aug 27 16:07:43 nubian ntop[85872]: Listening on [sis0] Aug 27 16:07:43 nubian ntop[85872]: Now running as requested user 'ntop' (1030:1030) Aug 27 16:07:43 nubian ntop[85872]: Loading Plugins Aug 27 16:07:43 nubian ntop[85872]: Searching for plugins in /usr/local/lib/ntop/plugins Aug 27 16:07:43 nubian ntop[85872]: ICMP: Welcome to icmpWatchPlugin. (C) 1999-2004 by Luca Deri Aug 27 16:07:43 nubian ntop[85872]: LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni Aug 27 16:07:44 nubian ntop[85872]: NETFLOW: Welcome to NetFlow.(C) 2002-04 by Luca Deri Aug 27 16:07:44 nubian ntop[85872]: NFS: Welcome to nfsWatchPlugin. (C) 1999-2004 by Luca Deri Aug 27 16:07:45 nubian ntop[85872]: PDA: Welcome to PDAPlugin. (C) 2001-2004 by L.Deri and W.Brock Aug 27 16:07:45 nubian ntop[85872]: RRD: Welcome to rrdPlugin. (C) 2002-04 by Luca Deri. Aug 27 16:07:45 nubian ntop[85872]: SFLOW: Welcome to sFlowPlugin. (C) 2002-04 by Luca Deri Aug 27 16:07:45 nubian ntop[85872]: XML: Welcome to xmldump plugin. (C) 2003-2004 by Burton Strauss Aug 27 16:07:45 nubian ntop[85872]: Calling plugin start functions (if any) Aug 27 16:07:45 nubian ntop[85872]: RRD: Welcome to the RRD plugin Aug 27 16:07:45 nubian ntop[85872]: RRD: Mask for new directories is 0700 Aug 27 16:07:45 nubian ntop[85872]: RRD
Re: ntop problems with FreeBSD?
adp wrote: Anyone get ntop totally working with FreeBSD 4.9? We can run it, but it's flaky. On one FreeBSD box it runs fine for a while and then just dies. No syslog messages. It's just gone. On another it won't display anything in the Web interface (it opens new windows when clicking on some items), and it also randomly crashes. We are using ipf on one system and ipfw on another. All are dual-homed FreeBSD firewalls. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] i have been running ntop on freebsd with great success . usually when ntop just dies it means it cant handle the amount of hosts try tuning down the amount of hosts you monitor . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntop problems with FreeBSD?
Anyone get ntop totally working with FreeBSD 4.9? We can run it, but it's flaky. On one FreeBSD box it runs fine for a while and then just dies. No syslog messages. It's just gone. On another it won't display anything in the Web interface (it opens new windows when clicking on some items), and it also randomly crashes. We are using ipf on one system and ipfw on another. All are dual-homed FreeBSD firewalls. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ntop problems with FreeBSD?
I have this exact same problem with one of my boxes. Even completely removing the app, getting a new current port skeleton and reinstalling -- still the same behavior. Anybody got a solution? Original Message: - From: adp [EMAIL PROTECTED] Date: Wed, 18 Aug 2004 15:29:53 -0500 To: [EMAIL PROTECTED] Subject: ntop problems with FreeBSD? Anyone get ntop totally working with FreeBSD 4.9? We can run it, but it's flaky. On one FreeBSD box it runs fine for a while and then just dies. No syslog messages. It's just gone. On another it won't display anything in the Web interface (it opens new windows when clicking on some items), and it also randomly crashes. We are using ipf on one system and ipfw on another. All are dual-homed FreeBSD firewalls. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mail2web - Check your email from the web at http://mail2web.com/ . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
strange problem with ntop
Hello, I have a dual CPU 1GHz PIII running 5.1 release. I Run ntop on that machine. The strange thing is that when I run ntop it hangs after a few minutes. it uses lots of memory but I tuned the kernel accordingly setting that a process can use up to 1GB allocation space (DSIZ etc..) The problems looks like thread related, some thread hangs and the web page of ntop freezes even if the ntop proces does not die. This problem does not occour if I continuously click on the ntop web page links to look the traffic. if I stop going through the ntop page for a while the ntop threads start freezing. I did not notice this problem on Linux. NTOP is a unstable application and it is normal that it will crash after a short time but i nthis case it does not crash but freezes a few minutes after ntop is started. Do I have to recompile the kernel with some special option? anyone using NTOP on FreeBSD had this problem? thank you Rick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntop: Bad file descriptor on device 1
I've just installed the ntop port, on a 4.8-STABLE system that has two NICs. When I run ntop, it always gives me this error: **ERROR** Reading packets on device 1(sis0): 'read: Bad file descriptor' In this case sis0 is the second NIC listed. If I swap the order in the -i option, it will report the error on '...device 1(sis1)...' In either case, it does not report any data for that NIC. My ports directory is up to date; but the -STABLE system was last cvsupp'd and built on 25 April. Any clues what might be causing this or how to fix it? Thanks, -Pat ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]