From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 29 10:50:15 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 973D216A41F for ; Fri, 29 Jul 2005 10:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1777143D48 for ; Fri, 29 Jul 2005 10:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6TAoEer080989 for ; Fri, 29 Jul 2005 10:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6TAoEPb080988; Fri, 29 Jul 2005 10:50:14 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jul 2005 10:50:14 GMT Resent-Message-Id: <200507291050.j6TAoEPb080988@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Krzysztof Stryjek Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E162116A41F for ; Fri, 29 Jul 2005 10:40:18 +0000 (GMT) (envelope-from wtp@wtp3.org) Received: from mx1.wtp3.org (201-moc-7.acn.waw.pl [212.76.58.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 680F543D48 for ; Fri, 29 Jul 2005 10:40:17 +0000 (GMT) (envelope-from wtp@wtp3.org) Received: from localhost (localhost.lan.wtp3.org [127.0.0.1]) by fw.wtp3.org (Postfix) with ESMTP id 79367262F6 for ; Fri, 29 Jul 2005 12:40:16 +0200 (CEST) Received: from mx1.wtp3.org ([127.0.0.1]) by localhost (fw.wtp3.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55868-03 for ; Fri, 29 Jul 2005 12:40:11 +0200 (CEST) Received: by fw.wtp3.org (Postfix, from userid 1000) id 4314D262F4; Fri, 29 Jul 2005 12:40:11 +0200 (CEST) Message-Id: <20050729104011.4314D262F4@fw.wtp3.org> Date: Fri, 29 Jul 2005 12:40:11 +0200 (CEST) From: Krzysztof Stryjek To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/84286: cactid port does not compile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Krzysztof Stryjek List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 10:50:15 -0000 >Number: 84286 >Category: ports >Synopsis: cactid port does not compile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 29 10:50:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Krzysztof Stryjek >Release: FreeBSD 4.10-STABLE i386 >Organization: private person >Environment: System: FreeBSD fw.wtp3.org 4.10-STABLE FreeBSD 4.10-STABLE #5: Thu Apr 14 23:37:02 CEST 2005 toor@fw.wtp3.org:/usr/src/sys/compile/POOH i386 >Description: cactid is daemon for cacti to collect data. It's written in C, but it seems that was only tested on Fedora Core (according to home page there is info abnout compilation and instalationa only for FC disto). There is a call to RLIMIT_AS constant which I have not found on FreeBSD, Debian and old RedHat 9.0. >How-To-Repeat: Just cd $PORTSDIR/net/cactid && make >Fix: I've made a patch for php.c (source file). I've just commened out lines, which are specific to Fedora Core :-))) ------------------- cut here ------------------------ --- php.c.orig Thu Jun 23 04:31:11 2005 +++ php.c Fri Jul 29 12:28:31 2005 @@ -163,13 +163,14 @@ } } +/* if (getrlimit(RLIMIT_AS,&ResourceLimits) == 0) { if (set.verbose == POLLER_VERBOSITY_DEBUG) { printf("DEBUG: Current Address Space Allocation is '%i' bytes\n", ResourceLimits.rlim_cur); printf("DEBUG: Maximum Address Space Allocation is '%i' bytes\n", ResourceLimits.rlim_max); } } - +*/ if (set.verbose == POLLER_VERBOSITY_DEBUG) { snprintf(logmessage, LOGSIZE-1, "DEBUG: PHP Script Server Routine Starting\n"); cacti_log(logmessage); ------------------- cut here ------------------------ Greetings from Poland -- Krzysztof Stryjek >Release-Note: >Audit-Trail: >Unformatted: