cannot install ntop under freeBSD 5.5

PK piotrekk at excite.com
Mon Aug 1 02:34:28 GMT 2005



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 < glenn at antimatter.net > wrote:
From: Glenn Dawson [mailto: glenn at antimatter.net]
To: piotrekk at excite.com
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:<br><br>>thanks,<br>><br>>now it works, but how can I get later XML Plugin running with ntop ?<br>>I need it.<br><br>Probably the best thing to do is send an email to the port maintainer for <br>ntop, and copy the maintainer for libxml2.  I looked at it enough to see <br>that there was a problem there, but I didn't spend the time to find out if <br>it was the fault of ntop, or the xml library.<br><br>looks like the maintainer for ntop port is clement at FreeBSD.org<br><br>and for libxml2 port is gnome at FreeBSD.org<br><br>-Glenn<br><br><br>>greetings<br>>piotr<br>><br>><br>>  --- On Wed 07/27, Glenn Dawson < glenn at antimatter.net > wrote:<br>>From: Glenn Dawson [mailto: glenn at antimatter.net]<br>>To: piotrekk at excite.com<br>>Date: Wed, 27 Jul 2005 06:19:53 -0700<br>>Subject: Re: cannot install ntop under freeBSD 5.5<br>><br>>At 06:18 AM 7/27/2005, you wrote:<br><br>>thanks,<br>><br>>but now I get <br>>rrd disaster:<br><br>yeah...just delete the 
rrdtool port and reinstall <br>>after you've built ntop.<br><br>-Glenn<br><br><br>>rm -f <br>>.libs/rrdPlugin.lo<br>>cc -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 <br>><br>>-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations <br>><br>>-Wnested-externs -fPIC -MT rrdPlugin.lo -MD -MP -MF <br>>.deps/rrdPlugin.Tpo -c <br>>rrdPlugin.c  -fPIC -DPIC -o <br>>.libs/rrdPlugin.lo<br>>rrdPlugin.c: In function <br>>`graphCounter':<br>>rrdPlugin.c:583: error: too few arguments to function <br>>`rrd_graph'<br>>rrdPlugin.c: In function <br>>`netflowSummary':<br>>rrdPlugin.c:728: error: too few arguments to <br>>function `rrd_graph'<br>>rrdPlugin.c: In function<br>>`graphSummary':<br>>rrdPlugin.c:926: error: too few arguments to 
function <br>>`rrd_graph'<br>>gmake[3]: *** [rrdPlugin.lo] Error 1<br>>gmake[3]: Leaving <br>>directory `/usr/ports/net/ntop/work/ntop/plugins'<br>>gmake[2]: *** <br>>[all-recursive] Error 1<br>>gmake[2]: Leaving directory <br>>`/usr/ports/net/ntop/work/ntop/plugins'<br>>gmake[1]: *** [all-recursive] <br>>Error 1<br>>gmake[1]: Leaving directory <br>>`/usr/ports/net/ntop/work/ntop'<br>>gmake: *** [all] Error 2<br>>*** Error <br>>code 2<br>><br>>Stop in /usr/ports/net/ntop.<br>>*** Error code <br>>1<br>><br>>I cannot use both at the same time:<br>><br>>make rmconfig in <br>>/usr/ports/net/ntop<br>><br>>and this patch in /usr/ports/net/ntop/files <br>>to correct rrd:<br>><br>>--- ntop.h.orig Tue Jul 26 03:39:16 2005<br>>+++ <br>>ntop.h      Tue Jul 26 03:39:29 2005<br>>@@ -447,7 +447,7 <br>>@@<br>>  #endif<br>><br>>  #ifndef EMBEDDED<br>>-#include <br>>"rrd.h"<br>>+#include "myrrd/rrd.h"<br>>  #endif<br>><br>>  #ifdef <br>>HAVE_GETOPT_H<br>><br>><br>>this patch should solve 
rrdPlugin<br>>disaster.<br>><br>>greetings<br>>piotr<br>><br>><br>><br>><br>><br>><br>> <br>>--- On Wed 07/27, Glenn Dawson < glenn at antimatter.net > wrote:<br>>From: <br>>Glenn Dawson [mailto: glenn at antimatter.net]<br>>To: <br>>piotrekk at excite.com<br>>Date: Wed, 27 Jul 2005 05:39:36 -0700<br>>Subject: <br>>Re: cannot install ntop under freeBSD 5.5<br>><br>>At 04:36 AM 7/27/2005, <br>>you wrote:<br><br>>and howto build ntop without XML <br>>plugin <br>>?<br><br>Just do make rmconfig in /usr/ports/net/ntop<br><br>Then <br>><br>>when you do make install clean it should prompt you with a menu of <br>><br>><br>optional components.  XML should be turned off by default, so if <br>>you <br>>just <br>accept the defaults, it should build without <br>><br>>error.<br><br>-Glenn<br><br><br><br><br><br>>  --- On Mon 07/25, <br>>Glenn <br>>Dawson < glenn at antimatter.net > wrote:<br>>From: Glenn Dawson <br>>[mailto: <br>>glenn at antimatter.net]<br>>To: piotrekk at excite.com, 
<br>><br>>freebsd-questions at freebsd.org<br>>      Cc: <br>><br>>keramida at ceid.upatras.gr<br>>Date: Mon,<br>>25 Jul 2005 17:34:13 <br>>-0700<br>>Subject: Re: cannot install ntop under <br>>freeBSD 5.5<br>><br>>At <br>>12:17 PM 7/25/2005, PK <br>>wrote:<br><br>>hi<br>><br>>I did what you <br>><br>>suggested.<br>>I've <br>>deinstalled rrdtool completely, tried install <br>>ntop but <br>>now I get <br>><br>>following horrible <br>><br>><br>>errors:<br>><br>><br>>xmldumpPlugin.c:36:2: <br>>warning:<br>><br>>#warning<br>>xmldumpPlugin.c:37:2: warning: #warning <br>><br>><br>><br>>===========================================================<br>>xmldumpPlugin.c:38:2: <br>><br>><br>>warning: #warning<br>>xmldumpPlugin.c:39:2: warning: #warning <br>>The <br>>include <br>>of gdome.h that <br>>follows will generate a lot <br>><br>><br>>of<br>>xmldumpPlugin.c:40:2: warning: #warning compile warnings <br>>about <br>><br>>'shadows a <br>>global <br>>declaration'.<br>>xmldumpPlugin.c:41:2: 
<br>>warning: <br>>#warning <br>>Unfortunately, it's the way this <br>>crud is coded <br>>and <br>><br>>can't<br>>xmldumpPlugin.c:42:2: warning: #warning be fixed. Just <br>><br>>ignore<br>><br>>them!<br>>xmldumpPlugin.c:43:2: warning: <br>><br>><br>>#warning<br><br>>[snip]<br><br><br>>In file included from <br>><br>><br>>xmldumpPlugin.c:1730:<br>>xml_g_intf.inc: In function <br>><br>><br>>`dumpXML_interfaces':<br>>xml_g_intf.inc:33: warning: <br>><br>>nested<br>>extern declaration of `BufferTooShort'<br>>gmake[3]: *** <br>><br>><br>>[xmldumpPlugin.lo] Error 1<br>>gmake[3]: Leaving <br>>directory<br>><br>>`/usr/ports/net/ntop/work/ntop/plugins'<br>>gmake[2]: <br>>*** <br>>[all-recursive] <br>>Error 1<br>>gmake[2]: Leaving directory <br>><br>><br>>`/usr/ports/net/ntop/work/ntop/plugins'<br>>gmake[1]: *** <br>><br>>[all-recursive] <br>>Error 1<br>>gmake[1]: Leaving directory <br>><br>><br>>`/usr/ports/net/ntop/work/ntop'<br>>gmake: *** [all] Error <br>>2<br>>*** <br>>Error 
<br>>code 2<br>><br>>Stop in <br>>/usr/ports/net/ntop.<br>><br>><br>>It <br>>must be a <br>>BUG in the ntop <br>>port.<br><br>The problem is in the XML <br>>plugin.  If you <br>>don't <br>>need that, ntop will build <br>properly without <br>>the XML<br>><br>><br>>plugin.<br><br>-Glenn<br><br><br>>greetings<br>>piotr<br><br><br>><br>>_______________________________________________<br>>Join <br>><br>>Excite! - http://www.excite.com<br>>The most personalized portal on <br>>the <br>>Web!<br><br>---<br><br>We've checked and double checked, it keeps <br>>coming <br>>up the same thing.<br>The message is "Mars needs women". <br>><br><br><br>><br>>_______________________________________________<br>>Join <br>>Excite! - http://www.excite.com<br>>The most personalized portal on the <br>>Web!<br>><br>><br>>_______________________________________________<br>>freebsd-questions at freebsd.org <br>>mailing <br>>list<br>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions<br>>To <br>>  
unsubscribe, send any mail to <br>>"freebsd-questions-unsubscribe at freebsd.org"<br><br><br>><br>>_______________________________________________<br>>Join Excite! - http://www.excite.com<br>>The most personalized portal on the Web!<br><br>---<br><br>We've checked and double checked, it keeps coming up the same thing.<br>The message is "Mars needs women". <br><br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




More information about the freebsd-questions mailing list