Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2005 03:44:02 +0200
From:      Michael Nottebrock <lofi@freebsd.org>
To:        freebsd-ports@freebsd.org, piotrekk@excite.com
Cc:        clement@freebsd.org, kris@obsecurity.org
Subject:   Re: cannot install ntop from ports on freeBSD 5.4
Message-ID:  <200507260344.07957.lofi@freebsd.org>
In-Reply-To: <20050718230138.44C06AFA87@xprdmailfe5.nwk.excite.com>
References:  <20050718230138.44C06AFA87@xprdmailfe5.nwk.excite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1406309.EUfAH6aNH7
Content-Type: multipart/mixed;
  boundary="Boundary-01=_jVZ5CfgJ9fwx0Lz"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_jVZ5CfgJ9fwx0Lz
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday, 19. July 2005 01:01, PK wrote:
> I did rrdtool update, but get still errors:
>
> 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

That's actually a bug in ntop. ntop ships a fork of rrdtool in its sources,=
=20
but it does accidentally pick up an incompatible header from an rrdtool=20
installation if there is one. The attached patch should fix things (put it=
=20
in /usr/ports/net/ntop/files).

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--Boundary-01=_jVZ5CfgJ9fwx0Lz
Content-Type: text/plain;
  charset="iso-8859-1";
  name="patch-ntop.h"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="patch-ntop.h"

=2D-- ntop.h.orig	Tue Jul 26 03:39:16 2005
+++ ntop.h	Tue Jul 26 03:39:29 2005
@@ -447,7 +447,7 @@
 #endif
=20
 #ifndef EMBEDDED
=2D#include "rrd.h"
+#include "myrrd/rrd.h"
 #endif
=20
 #ifdef HAVE_GETOPT_H

--Boundary-01=_jVZ5CfgJ9fwx0Lz--

--nextPart1406309.EUfAH6aNH7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBC5ZVnXhc68WspdLARAq9+AKCR+JQ3qM/SfHam/MVDYVQwS5lc2ACgo1dG
d+WxSiDJWDCYSHgYR4JNSVM=
=umT2
-----END PGP SIGNATURE-----

--nextPart1406309.EUfAH6aNH7--



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