[Xymon] XYmon upgrade from 4.3.10 to 4.3.17

Bill Arlofski waa-hobbitml at revpol.com
Tue Apr 22 16:57:18 CEST 2014


On 04/22/14 09:27, Rob Hellemons wrote:
> Thanks, trying it right now. Unfortunately getting an error. config.server
> goes without any issues. The make install on the other hand gives back the
> following error:
> 
> chown xymon /usr/lib/xymon/data/rrd
> chgrp `id -g xymon` /usr/lib/xymon/data/rrd
> chmod 755 /usr/lib/xymon/data/rrd
> XYMONHOME="/usr/lib/xymon/server" MANROOT="/usr/local/man" XYMONUSER="xymon"
> IDTOOL="id" PKGBUILD="" INSTALLROOT=""
> INSTALLBINDIR="/usr/lib/xymon/server/bin"
> INSTALLETCDIR="/usr/lib/xymon/server/etc"
> INSTALLEXTDIR="/usr/lib/xymon/server/ext"
> INSTALLTMPDIR="/usr/lib/xymon/server/tmp"
> INSTALLWEBDIR="/usr/lib/xymon/server/web"
> INSTALLWWWDIR="/usr/lib/xymon/server/www" make -C common install
> make[1]: Entering directory `/install/xymon-4.3.17/common'
> cc  -c -o xymongrep.o xymongrep.c
> xymongrep.c:23:21: fatal error: version.h: No such file or directory
> compilation terminated.
> make[1]: *** [xymongrep.o] Error 1
> make[1]: Leaving directory `/install/xymon-4.3.17/common'
> make: *** [install-common] Error 2
> 
> In my /install/xymon-4.3.17/common directory there is a xymongrep.1 but no
> xymongrep.0. So I can imagine the error. Any idea why it looks for the .0
> instead of the .1 ?
> 
> Thanks,
> 
> Rob
> 

Rob, your issue is here:

"xymongrep.c:23:21: fatal error: version.h: No such file or directory"

version.h is a header file included in linux-headers package (at least in
Gentoo Linux)

on Gentoo:

emerge -va linux-headers


On a Debian-based system, then you want to:

apt-get install build-essential


Red Hat based:

yum install kernel-headers


Then try building Xymon again.   Basically, you are missing some dependencies,
and there may be others once you have this dependency installed.


Hope this helps

Bill


-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --



More information about the Xymon mailing list