Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 05:54:26 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        piotrekk@excite.com, keramida@ceid.upatras.gr, piotrekk@excite.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cannot install ntop under freeBSD 5.5
Message-ID:  <6.1.0.6.2.20050725054513.18ed6a60@cobalt.antimatter.net>
In-Reply-To: <20050725120328.1186D3CE9@xprdmailfe10.nwk.excite.com>
References:  <20050725120328.1186D3CE9@xprdmailfe10.nwk.excite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 < keramida@ceid.upatras.gr > wrote:
>From: Giorgos Keramidas [mailto: keramida@ceid.upatras.gr]
>To: piotrekk@excite.com
>      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 <piotrekk@excite.com> wrote:<br>><br>> 
>hi<br>><br>> I have exact the same problem and get the same 
>errors.<br>><br>> to clean a port, reinstall or upgrade ntop or rrdtool 
>doesn't help.<br><br>Strange.  I did build ntop on 6.0-CURRENT a few days 
>before the switch<br>to 7.0-CURRENT was made.  I haven't tried to build 
>ntop on 5.X though,<br>so this may be the problem.<br><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 "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20050725054513.18ed6a60>