Xymon Mailing List Archive search

Difficulties building hobbitclient-0.3

7 messages in this thread

list Allan Marillier · Fri, 29 Jul 2005 15:53:48 -0400 ·
I'm having trouble building hobbitclient-0.3 on both Fedora Core 3 and 4 systems. I unpacked the .tgz source, ran ./configure followed by make and get the error below. Any help will be appreciated.


hobbitclient-0.3# make
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o hobbitc.o hobbitc.c
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o conf_load.o conf_load.c
bison -y -p`echo conf_parse.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_parse.y
mv       y.tab.c conf_parse.c
flex -oconf_token.c conf_token.l
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o conf_parse.o conf_parse.c
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o report.o report.c
report.c: In function `open_report':
report.c:90: warning: initialization makes integer from pointer without a cast
cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o osdep.o osdep.c
cc -o hobbitc
cc: no input files
make: *** [hobbitc] Error 1


I have the following files created after this part of the make:
-rw-r--r--  1 root    root    8972 Jul 29 15:41 hobbitc.o
-rw-r--r--  1 root    root   17616 Jul 29 15:41 conf_load.o
-rw-r--r--  1 root    root   34743 Jul 29 15:41 conf_parse.c
-rw-r--r--  1 root    root   42493 Jul 29 15:41 conf_token.c
-rw-r--r--  1 root    root   25460 Jul 29 15:41 conf_parse.o
-rw-r--r--  1 root    root   12988 Jul 29 15:41 report.o
-rw-r--r--  1 root    root     885 Jul 29 15:41 osdep.o
list Daniel J McDonald · Fri, 29 Jul 2005 15:14:07 -0500 ·
quoted from Allan Marillier
On Fri, 2005-07-29 at 15:53 -0400, user-e3a6ebbee6cd@xymon.invalid wrote:
I'm having trouble building hobbitclient-0.3 on both Fedora Core 3 and
4 systems. 
It only runs on netbsd.  Use the hobbit included in the server package
instead (build it with ./configure client)
list Larry Barber · Fri, 29 Jul 2005 16:20:24 -0400 (EDT) ·
Are you building the client that's included with hobbit 4.1 or the
standalone package from the hobbit Sourceforge site? The standalone
client will only work with one of the BSD's. There is a client included
with Hobbit 4.1 should work with most Unices. I just built it on FC4
without a problem, and am running it on a RHES3 box. 
Thanks,
Larry Barber
quoted from Allan Marillier


On Fri, 2005-07-29 at 14:53 -0500, user-e3a6ebbee6cd@xymon.invalid wrote:
I'm having trouble building hobbitclient-0.3 on both Fedora Core 3 and
4 systems. I unpacked the .tgz source, ran ./configure followed by
make and get the error below. Any help will be appreciated. 

hobbitclient-0.3# make cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o hobbitc.o
hobbitc.c cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o conf_load.o
conf_load.c bison -y -p`echo conf_parse.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'`
conf_parse.y mv       y.tab.c conf_parse.c flex -oconf_token.c conf_token.l cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o conf_parse.o
conf_parse.c cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o report.o report.c report.c: In function `open_report': report.c:90: warning: initialization makes integer from pointer
without a cast cc -g -O2 -DSYSCONFDIR="\"/usr/local/etc\""   -c -o osdep.o osdep.c cc -o hobbitc cc: no input files make: *** [hobbitc] Error 1 

I have the following files created after this part of the make: -rw-r--r--  1 root    root    8972 Jul 29 15:41 hobbitc.o -rw-r--r--  1 root    root   17616 Jul 29 15:41 conf_load.o -rw-r--r--  1 root    root   34743 Jul 29 15:41 conf_parse.c -rw-r--r--  1 root    root   42493 Jul 29 15:41 conf_token.c -rw-r--r--  1 root    root   25460 Jul 29 15:41 conf_parse.o -rw-r--r--  1 root    root   12988 Jul 29 15:41 report.o -rw-r--r--  1 root    root     885 Jul 29 15:41 osdep.o 
list Rich Smrcina · Fri, 29 Jul 2005 15:21:02 -0500 ·
Works beautifully on SLES9.
quoted from Larry Barber

user-7a6c75d6cc10@xymon.invalid wrote:
Are you building the client that's included with hobbit 4.1 or the
standalone package from the hobbit Sourceforge site? The standalone
client will only work with one of the BSD's. There is a client included
with Hobbit 4.1 should work with most Unices. I just built it on FC4
without a problem, and am running it on a RHES3 box. 

Thanks,
Larry Barber
-- 

Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (XXX)XXX-XXXX
Ans Service:  (360)715-2467
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2006 - Chattanooga, TN - April 7-11, 2006
list Allan Marillier · Fri, 29 Jul 2005 16:21:06 -0400 ·
Thanks Daniel.

Now you mention that, I vaguely remember seeing either here in the list or in docs somewhere that client is netbsd only, but don't remember the ./configure client


Daniel J McDonald <user-290ce4e24e19@xymon.invalid> 07/29/2005 04:14 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
Hobbit List <user-ae9b8668bcde@xymon.invalid>
cc

Subject
Re: [hobbit] Difficulties building hobbitclient-0.3
quoted from Daniel J McDonald


On Fri, 2005-07-29 at 15:53 -0400, user-e3a6ebbee6cd@xymon.invalid wrote:
I'm having trouble building hobbitclient-0.3 on both Fedora Core 3 and
4 systems. 
It only runs on netbsd.  Use the hobbit included in the server package
instead (build it with ./configure client)
list Daniel J McDonald · Fri, 29 Jul 2005 15:33:29 -0500 ·
quoted from Allan Marillier
On Fri, 2005-07-29 at 16:21 -0400, user-e3a6ebbee6cd@xymon.invalid wrote:
Thanks Daniel. 
Now you mention that, I vaguely remember seeing either here in the
list or in docs somewhere that client is netbsd only, but don't
remember the ./configure client 
It's buried deep in the release notes.  I spent most of Wednesday
figuring out how to make an RPM of just the client.


-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

user-290ce4e24e19@xymon.invalid
list Allan Marillier · Fri, 29 Jul 2005 17:02:18 -0400 ·
I did find mention of the built-in client after I fetched and unpacked the source. I had previosuly just pulled down the FC4 binary rpm.

A simple adduser hobbit, followed by ./configure --client and then make install was all it took. I ran the start script and within a minute or two I had some nice green displays. I've been using a very simple BigBrother setup for about 18 months, and hobbit for a few weeks, but hobbit drops in so easily it makes BB look like a big ugly monster in comparison. Now all I need to do is put together a quick start/kill script and I'm ready to go dump my BB setup and move everything to hobbit.

I think one of the most impressive things, after the ease of installation and setup, is the instant trending graphs. And I thought I wrote reasonably decent, easy to use and somewhat bullet proof programs! :-)