From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 02:34:27 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 E3EB716A41F for ; Mon, 1 Aug 2005 02:34:27 +0000 (GMT) (envelope-from piotrekk@excite.com) Received: from excite.com (nn7.excitenetwork.com [207.159.120.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B7BF43D48 for ; Mon, 1 Aug 2005 02:34:27 +0000 (GMT) (envelope-from piotrekk@excite.com) Received: by xprdmailfe25.nwk.excite.com (Postfix, from userid 110) id E84D6BE518; Sun, 31 Jul 2005 22:34:22 -0400 (EDT) To: glenn@antimatter.net Received: from [84.73.115.251] by xprdmailfe26.nwk.excite.com via HTTP; Sun, 31 Jul 2005 22:34:22 EST X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: ID = 16eb98aa6edb040391a74a6066f0c889 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: <20050801023422.E84D6BE518@xprdmailfe25.nwk.excite.com> Date: Sun, 31 Jul 2005 22:34:22 -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: Mon, 01 Aug 2005 02:34:28 -0000 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@antimatter.net > wrote: From: Glenn Dawson [mailto: glenn@antimatter.net] To: piotrekk@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:

>thanks,
>
>now it works, but how can I get later XML Plugin running with ntop ?
>I need it.

Probably the best thing to do is send an email to the port maintainer for
ntop, and copy the maintainer for libxml2. I looked at it enough to see
that there was a problem there, but I didn't spend the time to find out if
it was the fault of ntop, or the xml library.

looks like the maintainer for ntop port is clement@FreeBSD.org

and for libxml2 port is gnome@FreeBSD.org

-Glenn


>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 06:19:53 -0700
>Subject: Re: cannot install ntop under freeBSD 5.5
>
>At 06:18 AM 7/27/2005, you wrote:

>thanks,
>
>but now I get
>rrd disaster:

yeah...just delete the rrdtool port and reinstall
>after you've built ntop.

-Glenn


>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!
>
>
>_______________________________________________
>freebsd-questions@freebsd.org
>mailing
>list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To
> unsubscribe, send any mail to
>"freebsd-questions-unsubscribe@freebsd.org"


>
>_______________________________________________
>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!