[Xymon] Solaris X86 xymon configure problems
Martin Flemming
martin.flemming at desy.de
Tue Nov 29 22:09:54 CET 2011
On Wed, 30 Nov 2011, Roland Soderstrom wrote:
> Hi Martin,
>
> Guess not...
> Checking for Large File Support ...
> ERROR: LFS support check failed for standard file support
>
> How do you turn that on?
>
Unfortunately I couldn't, too :-(
see
http://lists.xymon.com/archive/2011-November/033200.html
martin
>
> root at sunws1:/home/rolands/download/xymon-4.3.5# ./configure.client
>
> Configuration script for Xymon client
>
> This script asks a few questions and builds a Makefile to compile Xymon
>
> Checking your make-utility
>
> Xymon normally keeps all of the client configuration files
> on the Xymon server. If you prefer, it is possible to use
> a local client configuration file instead - if so, answer
> 'client' to the next question.
> NB: Local configuration requires the PCRE libs on each host.
>
> Server side client configuration, or client side [server] ?
>
>
>
> Checking for Large File Support ...
> ERROR: LFS support check failed for standard file support
>
>
> Checking for clock_gettime() requiring librt ...
> clock_gettime() requires librt
>
>
> What userid will be running Xymon [xymon] ?
>
> Found passwd entry for user xymon:x:62003:121:Xymon Owner:/usr/local/xymon:/usr/bin/bash
>
>
> Where do you want the Xymon installation [/usr/local/xymon] ?
>
> OK, will configure to use /usr/local/xymon as the Xymon toplevel directory
>
>
> What is the IP-address of your Xymon server [127.0.0.1] ?
>
>
>
> Using SunOS Makefile settings
>
>
>
> Created Makefile with the necessary information to build Xymon
> Some defaults are used, so do look at the Makefile before continuing.
>
> Configuration complete - now run make -s (GNU make) to build the tools
> root at sunws1:/home/rolands/download/xymon-4.3.5# /usr/local/bin/make
> MAKE="/usr/local/bin/make" CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS=""
> `pwd`/build/genconfig.sh
> Checking for socklen_t
> Checking for snprintf
> Checking for vsnprintf
> Checking for rpc/rpcent.h
> Checking for sys/select.h
> Checking for u_int32_t typedef
> Checking for PATH_MAX definition
> Checking for SHUT_RD/WR/RDWR definitions
> Checking for strtoll()
> config.h created
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DSunOS" RPATHOPT=""
> PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="-lrt" XYMONTOPDIR="/usr/local/xymon"
> XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="192.168.34.72" XYMONHOSTOS="" LOCALCLIENT="no" /usr/local/bin/make -C lib client
> make[1]: Entering directory `/home/rolands/download/xymon-4.3.5/lib'
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -o
> test-endianness test-endianness.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> osdefs.o osdefs.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> cgiurls.o cgiurls.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include
> -DCLIENTONLY -c -o color-client.o color.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> crondate.o crondate.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> digest.o digest.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> encoding.o encoding.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include
> -DXYMONTOPDIR=\"/usr/local/xymon\" -DXYMONLOGDIR=\"\" -DXYMONHOSTNAME=\"\" -DXYMONHOSTIP=\"192.168.34.72\" -DXYMONHOSTOS=\"\"
> -DBUILD_HOME=\"/usr/local/xymon/client\" -c -o environ-client.o environ.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> errormsg.o errormsg.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> holidays.o holidays.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> ipaccess.o ipaccess.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> loadhosts.o loadhosts.c
> loadhosts_file.c: In function `load_hostnames':
> loadhosts_file.c:131: warning: 'insavchar' might be used uninitialized in this function
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> md5.o md5.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> memory.o memory.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> misc.o misc.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> msort.o msort.c
> msort.c: In function `msort':
> msort.c:119: warning: passing arg 4 of `qsort' from incompatible pointer type
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include
> `./test-endianness` -c -o rmd160c.o rmd160c.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> sendmsg.o sendmsg.c
> sendmsg.c: In function `sendtoxymond':
> sendmsg.c:138: warning: 'sockfd' might be used uninitialized in this function
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include
> `./test-endianness` -c -o sha1.o sha1.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> sha2.o sha2.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> sig.o sig.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> stackio.o stackio.c
> stackio.c: In function `stackfgets':
> stackio.c:424: warning: 'eolchar' might be used uninitialized in this function
> stackio.c:440: warning: 'eolchar' might be used uninitialized in this function
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> strfunc.o strfunc.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> suid.o suid.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include
> -DCLIENTONLY -c -o timefunc-client.o timefunc.c
> timefunc.c: In function `timespec_text':
> timefunc.c:126: warning: 'days' might be used uninitialized in this function
> timefunc.c:126: warning: 'starttime' might be used uninitialized in this function
> timefunc.c:126: warning: 'endtime' might be used uninitialized in this function
> timefunc.c:126: warning: 'columns' might be used uninitialized in this function
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -I. -I../include -c -o
> tree.o tree.c
> ar cr xymonclient.a osdefs.o cgiurls.o color-client.o crondate.o digest.o encoding.o environ-client.o errormsg.o holidays.o ipaccess.o
> loadhosts.o md5.o memory.o misc.o msort.o rmd160c.o sendmsg.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc-client.o tree.o
> ranlib xymonclient.a || echo ""
> make[1]: Leaving directory `/home/rolands/download/xymon-4.3.5/lib'
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" RPATHOPT="" SSLFLAGS=""
> SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="-lrt" XYMONHOME="/usr/local/xymon/client" /usr/local/bin/make -C common
> client
> make[1]: Entering directory `/home/rolands/download/xymon-4.3.5/common'
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -c -o xymon.o xymon.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o ../client/xymon xymon.o
> ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -c -o xymonlaunch.o
> xymonlaunch.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o ../client/xymonlaunch
> xymonlaunch.o ../lib/xymonclient.a -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -c -o xymoncmd.o xymoncmd.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o ../client/xymoncmd
> xymoncmd.o ../lib/xymonclient.a -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -c -o xymongrep.o
> xymongrep.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o ../client/xymongrep
> xymongrep.o ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -c -o xymoncfg.o xymoncfg.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o ../client/xymoncfg
> xymoncfg.o ../lib/xymonclient.a -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -c -o xymondigest.o
> xymondigest.c
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o ../client/xymondigest
> xymondigest.o ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> make[1]: Leaving directory `/home/rolands/download/xymon-4.3.5/common'
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" RPATHOPT="" SSLLIBS=""
> NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="-lrt" XYMONHOME="/usr/local/xymon/client" /usr/local/bin/make -C build all
> make[1]: Entering directory `/home/rolands/download/xymon-4.3.5/build'
> gcc -o merge-lines -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 merge-lines.c
> gcc -o merge-sects -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 merge-sects.c
> gcc -o setup-newfiles -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1
> setup-newfiles.c ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> gcc -o renamevars -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 renamevars.c
> gcc -o renametasks -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 renametasks.c
> make[1]: Leaving directory `/home/rolands/download/xymon-4.3.5/build'
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I`pwd`/include -DCLIENTONLY=1" XYMONHOME="/usr/local/xymon/client"
> XYMONHOSTIP="192.168.34.72" LOCALCLIENT="no" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="-lrt" /usr/local/bin/make -C client allmake[1]:
> Entering directory `/home/rolands/download/xymon-4.3.5/client'
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o logfetch logfetch.c
> ../lib/xymonclient.a -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o clientupdate
> clientupdate.c ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o orcaxymon orcaxymon.c
> ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/home/rolands/download/xymon-4.3.5/include -DCLIENTONLY=1 -o msgcache msgcache.c
> ../lib/xymonclient.a -lresolv -lsocket -lnsl -lrt
> cat xymonclient.cfg.DIST | sed -e 's!@XYMONHOSTIP@!192.168.34.72!g' >xymonclient.cfg
> ../build/bb-commands.sh >>xymonclient.cfg
> cat clientlaunch.cfg.DIST | sed -e 's!@CLIENTFLAGS@!!g' >clientlaunch.cfg
> make[1]: Leaving directory `/home/rolands/download/xymon-4.3.5/client'
>
> Build complete.
>
> #####################################################################
> IMPORTANT: If upgrading from 4.2.x, see the docs/upgrade-to-430.txt
> file for instructions. You must run build/upgrade430.sh
> before installing the new version.
> #####################################################################
>
> Now run '/usr/local/bin/make install' as root
>
> root at sunws1:/home/rolands/download/xymon-4.3.5#
>
>
>
>
> On 30/11/11 07:52 AM, Martin Flemming wrote:
>
> On Wed, 30 Nov 2011, Roland Soderstrom wrote:
>
> Ryan is of course right, I didn't mean make I meant ld, but as you pointed out you changed the ld thing already.
>
> I compiled 4.3.5 on Solaris 10 x86 nicely yesterday.
> Client though. using configure.client
> Try that first.
>
> - Roland
>
>
>
> Hi !
>
> .. by the way, also with LFS-Support ?
>
> cheers,
>
> Martin
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
>
More information about the Xymon
mailing list