[hobbit] Compiling Xymon on OSX Snow Leopard

T.J. Yang tj_yang at hotmail.com
Mon Feb 15 06:01:25 CET 2010



I missed lib/Makefile in last post.
tj-yangs-imac:4.4.0 tj_yang$ diff -u  lib/Makefile.orig  lib/Makefile--- lib/Makefile.orig   2010-02-14 22:57:16.000000000 -0600+++ lib/Makefile        2010-02-14 22:58:21.000000000 -0600@@ -9,7 +9,7 @@ endif

-CFLAGS += -I. -I../include+CFLAGS += -I../include
 all: test-endianness libbbgen.a hobbitclient.a loadhosts stackio availability md5 sha1 rmd160 locator
tj-yangs-imac:4.4.0 tj_yang$ diff -u  build/Makefile.rules.orig build/Makefile.rules--- build/Makefile.rules.orig   2010-02-14 22:57:15.000000000 -0600+++ build/Makefile.rules        2010-02-14 22:58:51.000000000 -0600@@ -8,7 +8,7 @@ # Build targets #####################
-CFLAGS += -I. -I$(BUILDTOPDIR)/include+CFLAGS += -I$(BUILDTOPDIR)/include
 ifeq ($(CLIENTONLY),yes)        BUILDTARGETS = clienttj-yangs-imac:4.4.0 tj_yang$

From: tj_yang at hotmail.com
To: hobbit at hswn.dk
Date: Sun, 14 Feb 2010 21:47:49 -0600
Subject: [hobbit] Compiling Xymon on OSX Snow Leopard








Thanks to Joshua in Macport team to provide a pointer regarding the very "Availability.h" issue is causedby duplicated inclusion of "Availability.h" in . directory. I commented out "-I." in Makefile.rules file to fix the compilation issue.Look likes we have solution for reported issue in R1. Not sure the impact of the omission of "-I." will do to other OS.

How ?tj-yangs-imac:4.2.3 tj_yang$ diff -u    build/Makefile.rules.orig build/Makefile.rules--- build/Makefile.rules.orig   2010-02-14 21:35:37.000000000 -0600+++ build/Makefile.rules        2010-02-14 21:36:24.000000000 -0600@@ -8,7 +8,7 @@ # Build targets #####################
-CFLAGS += -I. -I$(BUILDTOPDIR)/include+CFLAGS += -I$(BUILDTOPDIR)/include
 ifeq ($(CLIENTONLY),yes)        BUILDTARGETS = clienttj-yangs-imac:4.2.3 tj_yang$
Why ?Don't know exactly why the change of gcc version to 4.2.1 in S.L. break the Makefile.rules files.
R1: http://www.hswn.dk/hobbiton/2009/11/msg00311.html
Cheers

T.J. Yang

 		 	   		  
Hotmail: Trusted email with powerful SPAM protection. Sign up now. 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100214/af3e490f/attachment.html>


More information about the Xymon mailing list