From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 13:18:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAE5C16A41F for ; Wed, 27 Jul 2005 13:18:45 +0000 (GMT) (envelope-from piotrekk@excite.com) Received: from excite.com (nn3.excitenetwork.com [207.159.120.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32B6B43D5E for ; Wed, 27 Jul 2005 13:18:45 +0000 (GMT) (envelope-from piotrekk@excite.com) Received: by xprdmailfe22.nwk.excite.com (Postfix, from userid 110) id 648C5299D4; Wed, 27 Jul 2005 09:18:43 -0400 (EDT) To: glenn@antimatter.net Received: from [84.73.114.198] by xprdmailfe22.nwk.excite.com via HTTP; Wed, 27 Jul 2005 09:18:43 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = 2383e4973664c80f7198bf469d15c13b From: "PK" MIME-Version: 1.0 X-Sender: piotrekk@excite.com X-Mailer: PHP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20050727131843.648C5299D4@xprdmailfe22.nwk.excite.com> Date: Wed, 27 Jul 2005 09:18:43 -0400 (EDT) Cc: freebsd-questions@freebsd.org Subject: Re: cannot install ntop under freeBSD 5.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: piotrekk@excite.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 13:18:45 -0000 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 < glenn@antimatter.net > wrote: From: Glenn Dawson [mailto: glenn@antimatter.net] To: piotrekk@excite.com 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:

>and howto build ntop without XML plugin ?

Just do make rmconfig in /usr/ports/net/ntop

Then when you do make install clean it should prompt you with a menu of
optional components. XML should be turned off by default, so if you just
accept the defaults, it should build without error.

-Glenn





> --- On Mon 07/25, Glenn Dawson < glenn@antimatter.net > wrote:
>From: Glenn Dawson [mailto: glenn@antimatter.net]
>To: piotrekk@excite.com, freebsd-questions@freebsd.org
> Cc: keramida@ceid.upatras.gr
>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:

>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


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

---

We've checked and double checked, it keeps coming up the same thing.
The message is "Mars needs women".

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