[Xymon] Solaris X86 xymon configure problems

Keelie keelie_ryan at yahoo.com
Mon Nov 28 11:23:28 CET 2011


Hi All,
 
Thanks for all your replies. I have already tried linking /usr/ccs/bin/ld to /usr/local/bin/ld, I found this troubleshooting step on google a few days ago, it didn’t help. I have unlinked it now and installed binutils, which has installed /usr/local/bin/ld.
I have now tried setting the xymon user path to that suggested, but unfortunately that hasn’t helped either.
 
So far I have:
1.     Installed the following packages –
SMClgcc346
SMCzlib
SMClintl
SMCliconv
SMCbinut
SMCcheck
SMCgmp
SMCcoreu
SMCcvs
SMCdb47
SMCevtlog
SMCexpat
SMCftype
SMCfontc
SMCfping
SMCgcc
SMCxpm
SMClibpng
SMCjpeg
SMCgd
SMCncurs
SMCgdb
SMCgdbm
SMCgettxt
SMClibart
SMClibnet
SMClibt
SMCpcre
SMCslang
SMCglib
SMCmake
SMCossl
SMCsasl
SMColdap
SMCperl
SMCreadl
SMCrrdt
 
2.     Added $(NETLIBS) before $(LIBRTDEF ) in all the Makefiles where it was missing
3.     Edited /var/xymon/xymon-4.3.5/xymonnet/ldaptest.c to move the #endif to line 97
4.     Edited /var/xymon/xymon-4.3.5/build/test-rrd.c to add NULL, &ymin, &ymax to line 30
5.     Edit /var/xymon/xymon-4.3.5/web/showgraph.c to add NULL, &ymin, &ymax to line 1156
 
Thanks
Keelie

Sent from my iPhone

On 28 Nov 2011, at 04:12, "Sailesh" <sailesh.mohabeer at mns.intnet.mu> wrote:

> 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 <Rolands at logicaltech.com.au> 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" <keelie_ryan at yahoo.com> 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
>  
> *************************************************************************************************
> 
> _______________________________________________
> 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/20111128/4118def2/attachment.html>


More information about the Xymon mailing list