[Xymon] Xymon version 4.3.9 now available
Ryan Novosielski
novosirj at umdnj.edu
Wed Jul 25 16:08:30 CEST 2012
Actually, if you look there, this may make sense. rrd.h is not in /usr/local/rrdtool-1.2.19, it's in /usr/local/rrdtool-1.2.19/include. The last line seems to have -I being set wrong, doesn't it?
-- Sent from my Palm Pre
On Jul 24, 2012 20:08, Roland Soderstrom <Rolands at logicaltech.com.au> wrote:
Ok,
First it seems like the vars do not change the default
+ echo Checking for RRDtool ...
Checking for RRDtool ...
RRDDEF=
RRDINC=
RRDLIB=
PNGLIB=
ZLIB=
But it finds it anyway.
+ test -f /usr/local/rrdtool-1.2.19/include/rrd.h
RRDINC=/usr/local/rrdtool-1.2.19/include
+ test -f /usr/local/rrdtool-1.2.19/lib/librrd.so
RRDLIB=/usr/local/rrdtool-1.2.19/lib
+ test -f /usr/local/rrdtool-1.2.19/lib/librrd.a
RRDLIB=/usr/local/rrdtool-1.2.19/lib
RRDINC=/usr/local/rrdtool-1.2.19/include
+ echo Not RRDtool 1.0.x, checking for 1.2.x
Not RRDtool 1.0.x, checking for 1.2.x
RRDDEF=-DRRDTOOL12
+ gmake -f Makefile.test-rrd clean
+ sed -es@/@_ at g
+ uname -s
OS=SunOS
+ gmake -f Makefile.test-rrd test-compile
RRDINC=-I/usr/local/rrdtool-1.2.19 RRDDEF=-DRRDTOOL12 + sed + -es@/@_ at g uname -s
OS=SunOS
And here it can’t find rrd.h??
test-rrd.c:3:17: rrd.h: No such file or directory
test-rrd.c: In function `main':
test-rrd.c:26: warning: implicit declaration of function `rrd_clear_error'
test-rrd.c:28: warning: implicit declaration of function `rrd_graph'
gmake: *** [test-compile] Error 1
+ test 2 -eq 0
+ echo ERROR: Cannot compile with RRDtool.
ERROR: Cannot compile with RRDtool.
RRDOK=NO
+ gmake -f Makefile.test-rrd test-link
+ test 2 -ne 0
PNGLIB=-L/usr/local/lib -lpng -L/usr/local/lib -lz
+ gmake -f Makefile.test-rrd test-link
+ test 2 -ne 0
PNGLIB=-L/usr/local/lib -lpng -L/usr/local/lib -lz -lm
+ gmake -f Makefile.test-rrd test-link
+ test 2 -eq 0
+ echo ERROR: Linking with RRDtool fails
ERROR: Linking with RRDtool fails
RRDOK=NO
+ gmake -f Makefile.test-rrd clean
-
Roland
From: Ryan Novosielski [mailto:novosirj at umdnj.edu]
Sent: Wednesday, 25 July 2012 9:45 AM
To: Roland Soderstrom; xymon at xymon.com
Subject: Re: [Xymon] Xymon version 4.3.9 now available
Try doing sh -x on whatever the build script for rrd is called (take a look in build -- it should be obvious). I found I was missing headers for pcre when I thought I had everything installed. I took a quick
glance and don't see any headers.
-- Sent from my Palm Pre
On Jul 24, 2012 19:18, Roland Soderstrom <Rolands at logicaltech.com.au> wrote:
Got some problem compiling 4.3.8 and now 4.3.9 same problem.
Using Solaris 10 x86 32bit
MAKE=gmake ./configure.server --rrdinclude /usr/local/rrdtool-1.2.19/include --rrdlib /usr/local/rrdtool-1.2.19/lib
(also tried without the rrd directives)
And then I get
Checking for RRDtool ...
Not RRDtool 1.0.x, checking for 1.2.x
Compiling with RRDtool works OK
ERROR: Linking with RRDtool fails
RRDtool include- or library-files not found.
These are REQUIRED for trend-graph support in Xymon, but Xymon can
be built without them (e.g. for a network-probe only installation.
root at pxym01:/var/tmp/xymon-4.3.9# pkginfo -l SMCrrdt
PKGINST: SMCrrdt
NAME: rrdtool
CATEGORY: application
ARCH: x86
VERSION: 1.2.19
BASEDIR: /usr/local
VENDOR: Tobias Oetiker et al
PSTAMP: Steve Christensen
INSTDATE: Jul 24 2012 10:52
EMAIL: steve at smc.vnet.net
STATUS: completely installed
FILES: 298 installed pathnames
1 shared pathnames
26 directories
26 executables
8460 blocks used (approx)
root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/include
-rw-r--r-- 1 bin bin 4887 Mar 25 2007 rrd.h
root at pxym01:/var/tmp/xymon-4.3.9# ls -la /usr/local/rrdtool-1.2.19/lib
-rw-r--r-- 1 bin bin 354030 Mar 25 2007 librrd_th.a
-rwxr-xr-x 1 bin bin 1150 Mar 25 2007 librrd_th.la
lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so -> librrd_th.so.2.0.8
lrwxrwxrwx 1 root root 18 Jul 24 10:52 librrd_th.so.2 -> librrd_th.so.2.0.8
-rwxr-xr-x 1 bin bin 302896 Mar 25 2007 librrd_th.so.2.0.8
-rw-r--r-- 1 bin bin 352960 Mar 25 2007 librrd.a
-rwxr-xr-x 1 bin bin 1129 Mar 25 2007 librrd.la
lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so -> librrd.so.2.0.9
lrwxrwxrwx 1 root root 15 Jul 24 10:52 librrd.so.2 -> librrd.so.2.0.9
-rwxr-xr-x 1 bin bin 302316 Mar 25 2007 librrd.so.2.0.9
drwxr-xr-x 3 bin bin 3 Jul 24 10:52 perl
drwxr-xr-x 2 bin bin 4 Jul 24 10:52 rrdtool
-rwxr-xr-x 1 bin bin 15456 Mar 25 2007 tclrrd1.2.19.so
root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd.so.2.0.9
libpng12.so.0 => /usr/lib/libpng12.so.0
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2
libm.so.2 => /usr/lib/libm.so.2
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libz.so => /usr/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
root at pxym01:/var/tmp/xymon-4.3.9# ldd /usr/local/rrdtool-1.2.19/lib/librrd_th.so.2.0.8
libpng12.so.0 => /usr/lib/libpng12.so.0
libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2
libm.so.2 => /usr/lib/libm.so.2
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6
libz.so => /usr/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
Am I missing something?
- Roland
-----Original Message-----
From: xymon-bounces at xymon.com
[mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Wednesday, 25 July 2012 2:49 AM
To: Xymon mailinglist
Subject: [Xymon] Xymon version 4.3.9 now available
Hi,
hot on the heels of 4.3.8 comes version 4.3.9 - it should be available from Sourceforge when you read this.
This version cleans up a couple of issues that arose with the 4.3.8 release, most notably the problem with "disable until" being broken, and some issues with building Xymon - mainly on Solaris boxes (1).
* Fix crash when XYMSRV is undefined but XYMSERVERS is
* Fix error in calculating combo-status messages with
forward references
* Fix error in disable-until-TIME or disable-until-OK code
* Fix documentation of DURATION in alerts.cfg / xymond_alert so
it is consistenly listed as being in "minutes".
* Permit explicit use of ">" and ">=" in alerts.cfg
* Permit building without the RRDtool libraries, e.g. for
a network-tester build, but with trend-graphing disabled.
* Full compiler-warning cleanup
* Various configuration/build-script issues fixed.
NB: Due to the build-script changes, it is necessary to run the "configure" command in a clean, freshly-unpacked xymon-4.3.9 directory when building this version. You cannot just copy over the Makefile from a previous version - if you do, some of the programs
will not be built.
Here are the hash values:
MD5:
3f784333de43ffc5783a4c65a7d08456 xymon-4.3.9.tar.gz
8e170caa403d9b69bb52f6e5ac4e9e52 xymon_4.3.9_amd64.deb
c0ade68012b2445b50117d7439a05ec7 xymon-client_4.3.9_amd64.deb
bcabdc0da72a4e574b839f58fc487518 xymon_4.3.9_i386.deb
355caba196250d2ec6bd2a09f9c99f81 xymon-client_4.3.9_i386.deb
SHA-1:
2960ebb130da0ce002ea1866e5ca5d77bff3dd22 xymon-4.3.9.tar.gz
75f54a044d07984f2fc668ecbc699553958808c7 xymon_4.3.9_amd64.deb
d3c08b9e03abc986f8019c1612ff91da0f93f403 xymon-client_4.3.9_amd64.deb
a67f8a75e66cfb0bba2ce275e52cf16ee91838c2 xymon_4.3.9_i386.deb
0ac9ef5226aaa87b9622ba82cb6c917be9931179 xymon-client_4.3.9_i386.deb
Regards,
Henrik
(1) Apparently, the "tr" command on Solaris 10 is incredibly broken when you have LANG set to something other than "C".
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120725/8a5e86bf/attachment.html>
More information about the Xymon
mailing list