[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Compile error - RRDTOOL 1.2.19



Hi Torsten,

No that is set?

bash-3.00# ./configure
Configuration script for Xymon
This script asks a few questions and builds a Makefile to compile Xymon
Checking your make-utility
Checking pre-requisites for building Xymon
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 found fping in /usr/local/sbin/fping
Do you want to use it [Y/n] ?
Y
Checking to see if '/usr/local/sbin/fping 127.0.0.1' works ...
127.0.0.1 is alive
OK, will use '/usr/local/sbin/fping' for ping tests
NOTE: If you are using an suid-root wrapper, make sure the 'hobbit'
      user is also allowed to run fping without having to enter passwords.
      For 'sudo', add something like this to your 'sudoers' file:
      hobbit: ALL=(ALL) NOPASSWD: /usr/local/sbin/fping

Checking for RRDtool ...
test-rrd.c: In function `main':
test-rrd.c:30: error: too few arguments to function `rrd_graph'
gmake: *** [test-compile] Error 1
Not RRDtool 1.0.x, checking for 1.2.x
Found RRDtool include files in /usr/local/rrdtool-1.2.19/include
ERROR: RRDtool library files found in /usr/local/rrdtool-1.2.19/lib, but
link fails.
bash-3.00# echo $MAKE
/usr/sfw/bin/gmake
bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/local/bin/
bash-3.00#

Any ideas?
On Mon, Oct 19, 2009 at 1:03 PM, bb4 (at) richter-it.net <bb4 (at) richter-it.net>wrote:

> Hi Shaun,
>
> do you have gcc installed?
> Just check with find / -name gcc -type f -ls and it should display
> something like that:
>
> 22054  128 -r-xr-xr-x   3 root     bin        121804 Feb 22  2008
> /usr/sfw/bin/gcc
>
> If thats the case you just have to add /usr/sfw/bin (or whatever path is
> displayed there) to your PATH environment variable.
> Otherwise you have to install gcc.
>
> HTH
> Torsten
>
> Shaun Phillips <tainted.soul69 (at) googlemail.com> hat am 19. Oktober 2009 um
> 13:07 geschrieben:
>
>
> > Hi everyone,
> >
> > Anyone else get this compiling Hobbit 4.2.3 on Solaris 10  (zone)
> >
> > *Checking for RRDtool ...
> > *gmake: gcc: Command not found*
> > gmake: *** [test-compile] Error 127
> > Not RRDtool 1.0.x, checking for 1.2.x
> > gmake: gcc: Command not found
> > gmake: *** [test-compile] Error 127
> > ERROR: RRDtool include files found in /usr/local/rrdtool-1.2.19/include,
> but
> > compile fails.
> > *
> >
> > I've got rrdtool-1.2.19-sol10-sparc-local installed?
>