<div>Hi Torsten,</div>
<div> </div>
<div>Interesting.  It doesnt work for me!  :(</div>
<div> </div>
<div><font color="#666666">#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, NULL, &ymin, &ymax);<br>
#endif</font></div>
<div><font color="#666666">        return 0;<br>}</font></div>
<div><font color="#666666">~<br>"./build/test-rrd.c" 35 lines, 689 characters<br>bash-3.00# ./configure</font></div>
<div><font color="#666666">Configuration script for Xymon</font></div>
<div><font color="#666666">This script asks a few questions and builds a Makefile to compile Xymon</font></div>
<div><font color="#666666">Checking your make-utility<br>Checking pre-requisites for building Xymon</font></div>
<div><font color="#666666">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</font></div>

<div><font color="#666666"></font> </div>
<div><font color="#666666">Checking for RRDtool ...<br><font color="#ff0000">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 link fails.</font><br>
bash-3.00#<br></font></div>
<div> </div>
<div>This is a new zone and only things that have been installed so far are.</div>
<div> </div>
<div>libiconv-1.11-sol10-sparc-local   </div>
<div>fping-2.4b2-sol10-sparc-local     </div>
<div>make-3.81-sol10-sparc-local       </div>
<div>gcc-3.4.6-sol10-sparc-local       </div>
<div>rrdtool-1.2.19-sol10-sparc-local<br><br>Regards</div>
<div>Shaun<br><br></div>
<div class="gmail_quote">On Mon, Oct 19, 2009 at 3:11 PM, <a href="mailto:bb4@richter-it.net" target="_blank">bb4@richter-it.net</a> <span dir="ltr"><<a href="mailto:bb4@richter-it.net" target="_blank">bb4@richter-it.net</a>></span> wrote:<br>

<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>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 <<a href="mailto:tainted.soul69@googlemail.com" target="_blank">tainted.soul69@googlemail.com</a>> hat am 19. Oktober 2009 um 15:36 geschrieben: 
<div>
<div></div>
<div><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, <a href="mailto:bb4@richter-it.net" target="_blank">bb4@richter-it.net</a> <<a href="mailto:bb4@richter-it.net" target="_blank">bb4@richter-it.net</a>>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 <<a href="mailto:tainted.soul69@googlemail.com" target="_blank">tainted.soul69@googlemail.com</a>> 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></div></div></div></blockquote></div><br>