You need the rrdtool and rrdtool development packages. What they're called will depend on which version of Linux you're installing on. I have an old Centos 7 with these packages installed: rrdtool-devel-1.5.5-1.1.el7.x86_64 rrdtool-1.5.5-1.1.el7.x86_64
Info on the devel package says: Packager : Japheth Cleaver URL : http://oss.oetiker.ch/rrdtool/ Summary : RRDtool libraries and header files
If you have Ubuntu or some other OS, you'd be looking for something different.
Ralph Mitchell
On Fri, Nov 1, 2024 at 5:36 PM Kim Scarborough <kim@scarborough.kim> wrote:
Hi folks,
Trying to set up a Xymon 4,4 server and I'm getting these errors when it tries to detect the latest RRDtool:
Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.4.x test-rrd.c: In function 'main': test-rrd.c:28:42: error: passing argument 2 of 'rrd_flushcached' from incompatible pointer type [-Wincompatible-pointer-types] 28 | result = rrd_flushcached(pcount, rrdargs); printf("%d", result); | ^~~~~~~ | | | char ** In file included from test-rrd.c:3: /usr/include/rrd.h:242:18: note: expected 'const char **' but argument is of type 'char **' 242 | const char **argv); | ~~~~~~~~~~~~~^~~~ test-rrd.c:32:36: error: passing argument 2 of 'rrd_graph' from incompatible pointer type [-Wincompatible-pointer-types] 32 | result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax); printf("%d", result); | ^~~~~~~ | | | char ** /usr/include/rrd.h:185:5: note: expected 'const char **' but argument is of type 'char **' 185 | const char **, | ^~~~~~~~~~~~~ make: *** [Makefile.test-rrd:4: test-compile] Error 1 Not RRDtool 1.0.x or 1.4.x, checking for 1.2.x test-rrd.c: In function 'main': test-rrd.c:32:36: error: passing argument 2 of 'rrd_graph' from incompatible pointer type [-Wincompatible-pointer-types] 32 | result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax); printf("%d", result); | ^~~~~~~ | | | char ** In file included from test-rrd.c:3: /usr/include/rrd.h:185:5: note: expected 'const char **' but argument is of type 'char **' 185 | const char **, | ^~~~~~~~~~~~~ make: *** [Makefile.test-rrd:4: test-compile] Error 1 ERROR: Cannot compile with RRDtool. ERROR: Linking with RRDtool fails RRDtool include- or library-files not found.
Any thoughts or fixes?
-- Kim Scarborough
Xymon mailing list -- xymon@xymon.com To unsubscribe send an email to xymon-leave@xymon.com