Building the client on Mac OS X 10.6

Rob McBroom mailinglist0 at skurfer.com
Tue Nov 24 16:08:06 CET 2009


Has anyone managed to get the client built under Snow Leopard? What I’m doing seems pretty straightforward, but the build fails. I run `./configure --client`, answer the questions, then `make` and it bombs.

    MAKE="make" CC="gcc" CFLAGS="-g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDarwin -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
    config.h created
    CC="gcc" CFLAGS="-g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDarwin -I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DDarwin" RPATHOPT="" PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="" BBTOPDIR="/usr/local/Cellar/xymon-client/4.2.3" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="172.27.64.14" BBHOSTOS="" LOCALCLIENT="no" make -C lib client
    gcc -g -O -Wall -Wno-unused -D_REENTRANT -DBIND_8_COMPAT=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDarwin -I. -I/usr/local/src/xymon-4.2.3/include -DCLIENTONLY=1 -I. -I../include  -o test-endianness test-endianness.c
    In file included from /usr/include/stdlib.h:61,
                     from test-endianness.c:17:
    ./Availability.h:18: error: expected specifier-qualifier-list before ‘time_t’
    ./Availability.h:32: error: expected specifier-qualifier-list before ‘time_t’
    ./Availability.h:43: error: expected ‘)’ before ‘duration’
    ./Availability.h:45: error: expected declaration specifiers or ‘...’ before ‘time_t’
    ./Availability.h:45: error: expected declaration specifiers or ‘...’ before ‘time_t’
    ./Availability.h:49: error: expected declaration specifiers or ‘...’ before ‘time_t’
    ./Availability.h:49: error: expected declaration specifiers or ‘...’ before ‘time_t’
    In file included from test-endianness.c:17:
    /usr/include/stdlib.h:289: error: expected ‘,’ or ‘;’ before ‘__OSX_AVAILABLE_BUT_DEPRECATED’
    make[1]: *** [test-endianness] Error 1
    make: *** [lib-client] Error 2

Thanks for any help you can provide.

-- 
Rob McBroom
<http://www.skurfer.com/>




More information about the Xymon mailing list