From owner-freebsd-ports@FreeBSD.ORG Tue Jul 26 01:44:15 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61ADC16A41F; Tue, 26 Jul 2005 01:44:14 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 826AE43D46; Tue, 26 Jul 2005 01:44:13 +0000 (GMT) (envelope-from lofi@freebsd.org) Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 4CECF4A80F; Tue, 26 Jul 2005 03:44:12 +0200 (CEST) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id 3DC79A85C; Tue, 26 Jul 2005 03:44:12 +0200 (CEST) Received: from lofi.dyndns.org (dsl-213-023-195-130.arcor-ip.net [213.23.195.130]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id CE5125BA8A; Tue, 26 Jul 2005 03:44:11 +0200 (CEST) Received: from kiste.my.domain (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.13.3/8.13.3) with ESMTP id j6Q1i8E9008906 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 26 Jul 2005 03:44:09 +0200 (CEST) (envelope-from lofi@freebsd.org) From: Michael Nottebrock To: freebsd-ports@freebsd.org, piotrekk@excite.com Date: Tue, 26 Jul 2005 03:44:02 +0200 User-Agent: KMail/1.8.1 References: <20050718230138.44C06AFA87@xprdmailfe5.nwk.excite.com> In-Reply-To: <20050718230138.44C06AFA87@xprdmailfe5.nwk.excite.com> X-Face: =Ym$`&q\+S2X$4`X%x%6"L4>Y,$]<":'L%c9"#7#`2tb&E&wsN31on!N\)3BD[g<=?utf-8?q?=2EjnfV=5B=0A=093=23?=>XchLK,o; >bD>c:]^; :>0>vyZ.X[,63GW`&M>}nYnr]-Fp``,[[@lJ!QL|sfW!s)=?utf-8?q?A2!*=0A=09vNkB/=7CL-?=>&QdSbQg X-Virus-Scanned: by amavisd-new Cc: clement@freebsd.org, kris@obsecurity.org Subject: Re: cannot install ntop from ports on freeBSD 5.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 01:44:15 -0000 --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--