Difficulties building hobbitclient-0.3
list Allan Marillier
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
▸
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
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
▸
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
Works beautifully on SLES9.
▸
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
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
▸
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
▸
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
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! :-)