Error running make on Solaris 2.6

Paul Duff paulduff at tpg.com.au
Thu Aug 20 02:33:49 CEST 2009


Hi all,
    I am trying to run the client compile on a Solaris 2.6 system. I am 
using the xymon-4.3.0-beta2 release and below is the output.

oms001 /prod/vendor/xymon-4.3.0-beta2:> ./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() not present, but this should be OK


What userid will be running Xymon [xymon] ?

Found passwd entry for user xymon:x:23312:1:Xymon Monitoring 
User:/prod/vendor/xymon:/bin/sh


Where do you want the Xymon installation [/prod/vendor/xymon] ?

OK, will configure to use /prod/vendor/xymon as the Xymon toplevel directory


What is the IP-address of your Xymon server [127.0.0.1] ?
x.x.x.x



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
oms001 /prod/vendor/xymon-4.3.0-beta2:> make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I. 
-I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DSunOS" 
RPATHOPT="-Wl,-R" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" 
NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" 
BBTOPDIR="/prod/vendor/xymon" BBLOGDIR="" BBHOSTNAME="" 
BBHOSTIP="203.166.64.112" BBHOSTOS="" LOCALCLIENT="no" make -C lib client
make[1]: Entering directory `/prod/vendor/xymon-4.3.0-beta2/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I. 
-I/prod/vendor/xymon-4.3.0-beta2/include -DCLIENTONLY=1 -I. 
-I../include    -c -o misc.o misc.c
In file included from /prod/vendor/xymon-4.3.0-beta2/include/libbbgen.h:42,
                 from misc.c:34:
/prod/vendor/xymon-4.3.0-beta2/include/../lib/eventlog.h:38: error: 
syntax error before numeric constant
make[1]: *** [misc.o] Error 1
make[1]: Leaving directory `/prod/vendor/xymon-4.3.0-beta2/lib'
make: *** [lib-client] Error 2
oms001 /prod/vendor/xymon-4.3.0-beta2:>

Any help would be great.

Regards
Paul



More information about the Xymon mailing list