[Xymon] Solaris X86 xymon configure problems

Tim McCloskey tm at freedom.com
Fri Nov 25 20:31:00 CET 2011


Can you provide the output from the following?

pkginfo -i | gegrep -i '(ssl|pcre)'
or, if you don't have gnu grep
pkginfo -i | grep -i ssl
pkginfo -i | grep -i pcre
/usr/local/ssl/bin/openssl version
env 
which gmake make ldd openssl
ldd -s /path/to/openssl from above
 ls -laR /usr/sfw | grep -i pcre 
ls -laR /usr/sfw | grep -i ssl*.so 

gcc -v

Sounds like you might have a couple versions of some tools.  

________________________________________
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Keelie [keelie_ryan at yahoo.com]
Sent: Friday, November 25, 2011 2:22 AM
To: xymon at xymon.com
Subject: [Xymon] Solaris X86 xymon configure problems

Can anyone please shed any light on the issue I’m having. I’ve been troubleshooting xymon installation for over a week now, each time I fix one issue I hit another.

This is the output of my ./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 ...
Xymon has a built-in ping utility (xymonping)
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 'xymond'
      user is also allowed to run fping without having to enter passwords.
      For 'sudo', add something like this to your 'sudoers' file:
      xymon ALL=(ALL) NOPASSWD: /usr/local/sbin/fping



Checking for RRDtool ...
Found RRDtool include files in /usr/local/rrdtool-1.2.19/include
Found RRDtool libraries in /usr/local/rrdtool-1.2.19/lib
Linking RRD with PNG library: -L/usr/lib -lpng


Checking for PCRE ...
Found PCRE include files in /usr/local/include
ld: warning: global symbol '_END_' has non-global binding:
        (file /usr/local/lib/libpcre.so value=LOCL);
ld: warning: global symbol '_START_' has non-global binding:
        (file /usr/local/lib/libpcre.so value=LOCL);
Found PCRE libraries in /usr/local/lib


Checking for OpenSSL ...
Found OpenSSL include files in /usr/local/ssl/include
collect2: ld terminated with signal 8 [Arithmetic Exception], core dumped
ld: warning: global symbol '_END_' has non-global binding:
        (file /usr/local/ssl/lib/libssl.so value=LOCL);
ld: warning: global symbol '_START_' has non-global binding:
        (file /usr/local/ssl/lib/libssl.so value=LOCL);
make: *** [test-link] Error 1
WARNING: OpenSSL library files found in /usr/local/ssl/lib, but link fails.
Continuing with SSL support disabled.


Checking for LDAP ...
test-ldap.c: In function `main':
test-ldap.c:25: warning: implicit declaration of function `ldap_init'
test-ldap.c:25: warning: assignment makes pointer from integer without a cast
Found LDAP include files in /usr/include
Found LDAP libraries in /usr/lib


When I run make I get the following:

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I. -I`pwd`/include -I/usr/local/include" LDFLAGS="" RPATHOPT="" RRDDEF="" RRDINCDIR="-I/usr/local/rrdtool-1.2.19/include" PCREINCDIR="-I/usr/local/include" NETLIBS="-lresolv -lsocket -lnsl" RRDLIBS="-L/usr/local/rrdtool-1.2.19/lib -lrrd -L/usr/lib -lpng" PCRELIBS="-L/usr/local/lib -lpcre" LIBRTDEF="-lrt" XYMONTOPDIR="/opt/xymon" XYMONHOME="/opt/xymon/server" XYMONVAR="/opt/xymon/data" XYMONLOGDIR="/var/log/xymon" XYMONHOSTNAME="swpits2" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="sunos" XYMONUSER="xymon" CGIDIR="/opt/xymon/cgi-bin" SECURECGIDIR="/opt/xymon/cgi-secure" XYMONHOSTURL="/xymon" XYMONCGIURL="/xymon-cgi" SECUREXYMONCGIURL="/xymon-seccgi" MAILPROGRAM=""mailx"" RUNTIMEDEFS="" INSTALLWWWDIR="/opt/xymon/server/www" INSTALLETCDIR="/opt/xymon/server/etc" make -C web all
make[1]: Entering directory `/var/xymon/xymon-4.3.5/web'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I. -I/var/xymon/xymon-4.3.5/include -I/usr/local/include -o showgraph.cgi  showgraph.o ../lib/libxymon.a -L/usr/local/lib -lpcre -L/usr/local/rrdtool-1.2.19/lib -lrrd -L/usr/lib -lpng -lresolv -lsocket -lnsl -lrt
collect2: ld terminated with signal 8 [Arithmetic Exception], core dumped
ld: warning: global symbol '_END_' has non-global binding:
        (file /usr/local/lib/libpcre.so value=LOCL);
ld: warning: global symbol '_START_' has non-global binding:
        (file /usr/local/lib/libpcre.so value=LOCL);
make[1]: *** [showgraph.cgi] Error 1
make[1]: Leaving directory `/var/xymon/xymon-4.3.5/web'
make: *** [web-build] Error 2


*************************************************************************************************





More information about the Xymon mailing list