ports/84286: cactid port does not compile

Krzysztof Stryjek wtp+cactid at bsdguru.org
Fri Jul 29 10:50:15 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list