Xymon Mailing List Archive search

Building server on OSX 10.5.5

list Michael Dunne
Thu, 25 Sep 2008 20:47:44 -0400
Message-Id: <user-945fb1bd7fe9@xymon.invalid>

Greetings,

It seems that the error resides here:

--rrdinclude /opt/local/bin

That line should be the directory that contains your rrd.h file, which is in
/opt/local/include if you're using darwin ports. You can verify that by
typing "locate rrd.h".

Give that a whirl and see how it goes.

Mike

On 9/25/08 2:35 PM, "Lee J. Imber" <user-00f7ff80dab7@xymon.invalid> wrote:
I am trying to build 4.2.0 server on OSX 10.5.5.


sh-3.2$ find /opt/local/ -name rrdtool
/opt/local//bin/rrdtool
/opt/local//lib/rrdtool
/opt/local//share/rrdtool
/opt/local//var/macports/distfiles/rrdtool
/opt/local//var/macports/receipts/rrdtool
/opt/local//var/macports/software/rrdtool
/opt/local//var/macports/software/rrdtool/1.3.2_0/opt/local/bin/rrdtool
/opt/local//var/macports/software/rrdtool/1.3.2_0/opt/local/lib/rrdtool
/opt/local//var/macports/software/rrdtool/1.3.2_0/opt/local/share/
rrdtool
/opt/local//var/macports/sources/rsync.macports.org/release/ports/net/
rrdtool

sh-3.2$ MAKE=gmake ./configure.server --rrdinclude /opt/local/bin --
rrdlib /opt/local/lib

Configuration script for Hobbit

This script asks a few questions and builds a Makefile to compile Hobbit

Checking your make-utility
Checking pre-requisites for building Hobbit

Checking for fping ...
Hobbit has a built-in ping utility (hobbitping)
However, it is not yet fully stable and therefore it
may be best to use the external fping utility instead.
I could not find fping on your system
Do you want to use hobbitping [Y/n] ?
y
OK, I will use hobbitping.


Checking for RRDtool ...
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function 'main':
test-rrd.c:26: warning: implicit declaration of function
'rrd_clear_error'
test-rrd.c:30: warning: implicit declaration of function 'rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
test-rrd.c:3:17: error: rrd.h: No such file or directory
test-rrd.c: In function 'main':
test-rrd.c:26: warning: implicit declaration of function
'rrd_clear_error'
test-rrd.c:28: warning: implicit declaration of function 'rrd_graph'
gmake: *** [test-compile] Error 1
ERROR: RRDtool include files found in /opt/local/bin, but compile fails.
sh-3.2$


AFAIK BSD tools are installed.

Anyone have success?

Thanks,

Lee

Michael Dunne
Network Support Specialist
AccuWeather, Inc. 
XXX-XXX-XXXX Ext. XXXX

³Just because something bears the aspect of the inevitable one should not,
therefore, go along willingly with it.²

Philip K. Dick - The Transmigration of Timothy Archer