<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
Hi Shaun,<br />
<br />
I just tried to install XYmon 4.2.3 on a Solaris 10 zone and ran into the same problem.<br />
I changed line 30 in test-rrd.c from <br />
result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize);<br />
to<br />
result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);<br />
and it seems to work.<br />
<br />
--- test-rrd.c.orig Mon Oct 19 16:07:58 2009<br />
+++ test-rrd.c Mon Oct 19 16:10:39 2009<br />
@@ -27,7 +27,7 @@<br />
#ifdef RRDTOOL12<br />
result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);<br />
#else<br />
- result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize);<br />
+ result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);<br />
#endif<br />
<br />
return 0;<br />
<br />
Maybe that's all you have to do.<br />
<br />
Cheers<br />
Torsten<br />
<br />
Shaun Phillips <tainted.soul69@googlemail.com> hat am 19. Oktober 2009 um 15:36 geschrieben:<br />
<br />
> Hi Torsten,<br />
> <br />
> No that is set?<br />
> <br />
> bash-3.00# ./configure<br />
> Configuration script for Xymon<br />
> This script asks a few questions and builds a Makefile to compile Xymon<br />
> Checking your make-utility<br />
> Checking pre-requisites for building Xymon<br />
> Checking for fping ...<br />
> Hobbit has a built-in ping utility (hobbitping)<br />
> However, it is not yet fully stable and therefore it<br />
> may be best to use the external fping utility instead.<br />
> I found fping in /usr/local/sbin/fping<br />
> Do you want to use it [Y/n] ?<br />
> Y<br />
> Checking to see if '/usr/local/sbin/fping 127.0.0.1' works ...<br />
> 127.0.0.1 is alive<br />
> OK, will use '/usr/local/sbin/fping' for ping tests<br />
> NOTE: If you are using an suid-root wrapper, make sure the 'hobbit'<br />
> user is also allowed to run fping without having to enter passwords.<br />
> For 'sudo', add something like this to your 'sudoers' file:<br />
> hobbit: ALL=(ALL) NOPASSWD: /usr/local/sbin/fping<br />
> <br />
> Checking for RRDtool ...<br />
> test-rrd.c: In function `main':<br />
> test-rrd.c:30: error: too few arguments to function `rrd_graph'<br />
> gmake: *** [test-compile] Error 1<br />
> Not RRDtool 1.0.x, checking for 1.2.x<br />
> Found RRDtool include files in /usr/local/rrdtool-1.2.19/include<br />
> ERROR: RRDtool library files found in /usr/local/rrdtool-1.2.19/lib, but<br />
> link fails.<br />
> bash-3.00# echo $MAKE<br />
> /usr/sfw/bin/gmake<br />
> bash-3.00# echo $PATH<br />
> /usr/sbin:/usr/bin:/usr/local/bin/<br />
> bash-3.00#<br />
> <br />
> Any ideas?<br />
> On Mon, Oct 19, 2009 at 1:03 PM, bb4@richter-it.net <bb4@richter-it.net>wrote:<br />
> <br />
> > Hi Shaun,<br />
> ><br />
> > do you have gcc installed?<br />
> > Just check with find / -name gcc -type f -ls and it should display<br />
> > something like that:<br />
> ><br />
> > 22054 128 -r-xr-xr-x 3 root bin 121804 Feb 22 2008<br />
> > /usr/sfw/bin/gcc<br />
> ><br />
> > If thats the case you just have to add /usr/sfw/bin (or whatever path is<br />
> > displayed there) to your PATH environment variable.<br />
> > Otherwise you have to install gcc.<br />
> ><br />
> > HTH<br />
> > Torsten<br />
> ><br />
> > Shaun Phillips <tainted.soul69@googlemail.com> hat am 19. Oktober 2009 um<br />
> > 13:07 geschrieben:<br />
> ><br />
> ><br />
> > > Hi everyone,<br />
> > ><br />
> > > Anyone else get this compiling Hobbit 4.2.3 on Solaris 10 (zone)<br />
> > ><br />
> > > *Checking for RRDtool ...<br />
> > > *gmake: gcc: Command not found*<br />
> > > gmake: *** [test-compile] Error 127<br />
> > > Not RRDtool 1.0.x, checking for 1.2.x<br />
> > > gmake: gcc: Command not found<br />
> > > gmake: *** [test-compile] Error 127<br />
> > > ERROR: RRDtool include files found in /usr/local/rrdtool-1.2.19/include,<br />
> > but<br />
> > > compile fails.<br />
> > > *<br />
> > ><br />
> > > I've got rrdtool-1.2.19-sol10-sparc-local installed?<br />
> ><br />
</body>
</html>