Xymon Mailing List Archive search

Solaris X86 xymon configure problems

list Sailesh
Mon, 28 Nov 2011 08:12:51 +0400
Message-Id: <002101ccad84$022550b0$066ff210$@user-02c0a994364f@xymon.invalid>

Hi, 

 
The path for the xymon user should be in this order to avoid the compilation problem.

 
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11/bin:/usr/openwin/bin:/usr/ucb:/usr/ccs/bin:/usr/local/lib

 
Regards,

Sailesh

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Ryan Novosielski
Sent: Saturday, November 26, 2011 4:52 AM
To: Roland Soderstrom
Cc: xymon at xymon.com
Subject: Re: [Xymon] Solaris X86 xymon configure problems

 
This is absolutely not necessary and will drive your co-workers up the wall. I do not recall having any specific difficulties compiling though I do not remember which compiler. I can get back to you, but I wanted to chime in strongly against screwing around with system binaries.

-- Sent from my Palm Pre

 
On Nov 25, 2011 15:04, Roland Soderstrom <user-0cec9512a49f@xymon.invalid> wrote: 

Try using gnu make only, you need to mv /use/ccs/bin/make first and make a link to gnu make

Some packets has  /use/ccs/bin/make hard coded 

 
Roland

Sent from my iPhone


On 25/11/2011, at 9:32 PM, "Keelie" <user-a6cb21ab99e1@xymon.invalid> wrote:

 
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

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