Building the client on Mac OS X 10.6
list Rob McBroom
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/>
list Rob McBroom
▸
On Nov 24, 2009, at 10:08 AM, Rob McBroom wrote:
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.
OK, let me ask another way… Does anyone have a tarball of a Xymon client build from an Intel Mac? One built under 10.5 would probably still work. I’m just looking to have the `bb` binary on my local system for sending commands to the server. Thanks. -- Rob McBroom <http://www.skurfer.com/>;
list Rob McBroom
▸
On Nov 27, 2009, at 9:05 AM, Rob McBroom wrote:
Does anyone have a tarball of a Xymon client build from an Intel Mac? One built under 10.5 would probably still work.
Yes. I do. Thanks Time Machine. One weird thing, which is worth another post: I still had the source I used to install under 10.5. It was also version 4.2.3. I wanted to install to a different directory, so I removed the Makefile, ran configure, and ran make again. This time, no errors. Any theories? -- Rob McBroom <http://www.skurfer.com/>; Because it screws up the order in which people normally read text. Original message:
Why is it bad to top-post your reply?
list Jerald Sheets
I have one, but it's at the office, and we're out until Monday here. Happy to send it along on Monday, though. --jms
▸
On Nov 27, 2009, at 9:05 AM, Rob McBroom wrote:
On Nov 24, 2009, at 10:08 AM, Rob McBroom wrote: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.OK, let me ask another way… Does anyone have a tarball of a Xymon client build from an Intel Mac? One built under 10.5 would probably still work. I’m just looking to have the `bb` binary on my local system for sending commands to the server. Thanks. -- Rob McBroom <http://www.skurfer.com/>;
list M. Hansen
I'm using Snow Leopard as well and I'm getting the same error messages as Rob. Do you have any suggestions/workarounds, Henrik?
▸
On Fri, Nov 27, 2009 at 6:36 PM, Jerald Sheets <user-96a6f34c5806@xymon.invalid> wrote:I have one, but it's at the office, and we're out until Monday here. Happy to send it along on Monday, though. --jms On Nov 27, 2009, at 9:05 AM, Rob McBroom wrote:On Nov 24, 2009, at 10:08 AM, Rob McBroom wrote: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.OK, let me ask another way… Does anyone have a tarball of a Xymon client build from an Intel Mac? One built under 10.5 would probably still work. I’m just looking to have the `bb` binary on my local system for sending commands to the server. Thanks. -- Rob McBroom <http://www.skurfer.com/>;
list Rob McBroom
▸
On Feb 11, 2010, at 6:54 AM, M. Hansen wrote:
I'm using Snow Leopard as well and I'm getting the same error messages as Rob. Do you have any suggestions/workarounds, Henrik?
It would be nice if someone looked into this, but in the meantime… I found and old copy of the source (same version) that I had used to build the client under 10.5. For whatever reason, it works fine. Here’s a copy (minus my Makefile). http://skurfer.com/files/xymon-4.2.3-built.tar.gz run `./configure --client` to create a Makefile, then `make` and `make install`. Works for me anyway. If you plan to run the client for monitoring purposes, you’ll also want this plist for launchd. http://skurfer.com/files/com.xymon.client.plist You’ll need to replace all mentions of "/Users/xymon/client” with the correct path for your system. I’ve never used it myself, but some dipshit refused to read or try anything I suggested, so I got fed up and created one. :) See these threads: http://www.xymon.com/hobbiton/2009/05/msg00238.html http://www.xymon.com/hobbiton/2009/06/msg00154.html -- Rob McBroom <http://www.skurfer.com/>; Don't try to tell me a thing is important to you if the whole of your “support” entails forcing others to spend time and money on it.
list Rob McBroom
▸
On Feb 16, 2010, at 11:29 AM, Rob McBroom wrote:
It would be nice if someone looked into this, but in the meantime…
Scratch that… someone did. I’m still catching up on the last couple of weeks but just ran across this: http://www.hswn.dk/hobbiton/2010/02/msg00119.html -- Rob McBroom <http://www.skurfer.com/>;