Xymon Mailing List Archive search

RRDs created, never updated

list Jeremy Cappilero
Wed, 5 Nov 2008 14:56:14 -0800
Message-Id: <user-d4105d8dc8e8@xymon.invalid>

I have install RRDTool 1.2.28 now so I have:

[root at zzz hobbit-4.2.0]# ll /usr/local/ | grep rrd
drwxr-xr-x  6 root root 4096 Nov  6 05:41 rrdtool-1.2.28
drwxr-xr-x  6 root root 4096 Nov  5 04:44 rrdtool-1.3.4

I seem to be having trouble getting hobbit to use 1.2.28.  At first I just
removed the 1.3.4 directory, hobbit configure reported that it detected and
was using rrdtool 1.2, but when it ran the logs filled with errors about not
finding 1.3.4 files.

I then restored 1.3.4 and tried using:

./configure --server --rrdinclude=/usr/local/rrdtool-1.2.28/include
--rrdlib=/usr/local/rrdtool-1.2.28

However ./configure appears to ignore the extra commands and says it will
use 1.3.4 files:

"Checking for RRDtool ...
test-rrd.c: In function âmainâ:
test-rrd.c:30: error: too few arguments to function ârrd_graphâ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool-1.3.4/include
Found RRDtool libraries in /usr/local/rrdtool-1.3.4/lib
Linking RRD with PNG library: -L/usr/lib -lpng
"

Can anyone advise how to properly remove RRDtool 1.3.4 or get hobbit to
configure using 1.2.28?

TIA!

Jeremy.


On Wed, Nov 5, 2008 at 2:45 PM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote:
Apparently your rrdtool is quite new.  I'm running a very current snapshot
and my rrd is only 1.2.12.

Jeremy Cappilero wrote:
Thanks, I had no idea that page existed!

FWIW, I am using RRDTool 1.3.4. <http://1.3.4.>;
After patching, now during hobbit ./configure I get this (which doesn't
appear to present a problem at the time as it continues apparently ok):

Checking for RRDtool ...
test-rrd.c: In function âmainâ:
test-rrd.c:30: error: too few arguments to function ârrd_graphâ
make: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool-1.3.4/include
Found RRDtool libraries in /usr/local/rrdtool-1.3.4/lib
Linking RRD with PNG library: -L/usr/lib -lpng
--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009