From: <bug...@ga...> - 2007-12-14 21:11:07
|
http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=168 Summary: build of 3.05 fails under leopard Product: Ganglia Monitoring System Version: 3.0.x Platform: Macintosh OS/Version: MacOS X Status: NEW Severity: normal Priority: P2 Component: gmetric AssignedTo: gan...@li... ReportedBy: dkg...@lb... On Mac OS X 10.5 (Leopard), ganglia-3.0.5.tar.gz fails to build. Both failures are easily worked around, but of course it would be nice not to: 1) problem: kvm.h, referenced from libmetrics/darwin/metrics.c, is no longer in /usr/include solution: comment out #include kvm.h 2) problem: apr.h has the wrong setting for APR_HAS_SENDFILE, see text solution: do what the error message says and set the flag properly --- ugly error text --- Making all in network_io/unix ganglia-3.0.5/srclib/apr/network_io/unix /bin/sh ganglia-3.0.5/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I../../include -I../../include/arch/unix -I../../include/arch/unix -c sendrecv.c && touch sendrecv.lo sendrecv.c:965:2: error: #error APR has detected sendfile on your system, but nobody has written a sendrecv.c:966:2: error: #error version of it for APR yet. To get past this, either write apr_sendfile sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h to 0. --- end error text --- ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |