From owner-freebsd-questions@FreeBSD.ORG Wed Jul 27 11:36:06 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 9F9BD16A41F for ; Wed, 27 Jul 2005 11:36:06 +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 3D03B43D46 for ; Wed, 27 Jul 2005 11:36:06 +0000 (GMT) (envelope-from piotrekk@excite.com) Received: by xprdmailfe22.nwk.excite.com (Postfix, from userid 110) id 6EE81299A0; Wed, 27 Jul 2005 07:36:04 -0400 (EDT) To: glenn@antimatter.net, piotrekk@excite.com, freebsd-questions@freebsd.org Received: from [84.73.114.198] by xprdmailfe22.nwk.excite.com via HTTP; Wed, 27 Jul 2005 07:36:04 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: <20050727113604.6EE81299A0@xprdmailfe22.nwk.excite.com> Date: Wed, 27 Jul 2005 07:36:04 -0400 (EDT) X-Mailman-Approved-At: Wed, 27 Jul 2005 12:21:14 +0000 Cc: keramida@ceid.upatras.gr 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 11:36:06 -0000 and howto build ntop without XML plugin ? --- 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!