[openamq-dev] imatix package build error on osx 10.5
Christopher Thompson
cthompson at marketfactory.com
Sat Dec 8 04:07:45 CET 2007
For what it's worth, on OS X 10.4.11, these are the patches which got me
building cleanly. It's been a little bit since I've worked with this, but I
diffed my code against 1.2c4 and here's what came out.
--- base-1.2d7/libero/prelude.h 2007-09-04 09:22:22.000000000 -0400
+++ /Users/l1ghtm4n/Documents/devel/Vorpal/src/eclipseworkspace/OpenAMQ-
1.2c4/base-1.2d7/libero/prelude.h 2007-11-07 17:25:02.000000000 -0500
@@ -170,6 +170,9 @@
#elif (defined (BSD) || defined (bsd))
# define __UTYPE_BSDOS
# define __UNIX__
+#elif (defined (APPLE) || defined (__APPLE__))
+# define __UTYPE_OTHER
+# define __UNIX__
#elif (defined (linux))
# define __UTYPE_LINUX
# define __UNIX__
--- base-2.2b1/icl/icl.h 2007-09-04 09:24:36.000000000 -0400
+++ /Users/l1ghtm4n/Documents/devel/Vorpal/src/eclipseworkspace/OpenAMQ-
1.2c4/base-2.2b1/icl/icl.h 2007-11-07 17:56:20.000000000 -0500
@@ -169,6 +169,9 @@
#elif (defined (BSD) || defined (bsd))
# define __UTYPE_BSDOS
# define __UNIX__
+#elif (defined (APPLE) || defined (__APPLE__))
+# define __UTYPE_GENERIC
+# define __UNIX__
#elif (defined (linux))
# define __UTYPE_LINUX
# define __UNIX__
--- foreign-1.1d7/c/c 2007-09-04 09:19:55.000000000 -0400
+++ /Users/l1ghtm4n/Documents/devel/Vorpal/src/eclipseworkspace/OpenAMQ-
1.2c4/foreign-1.1d7/c/c 2007-11-07 17:47:00.000000000 -0500
@@ -353,6 +353,18 @@
CCDEBUG="-ggbd3"
[ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="-s -O2"
+ elif [ "$UTYPE" = "Darwin" ]; then
+ STDLIBS="-lm"
+ CCNAME="${CCNAME:-gcc}" # Use gcc if not set
+ CCPLUS="${CCPLUS:-g++}" # Use g++ if not set
+ CCOPTS="-Wall"
+ CCOPTS="$CCOPTS -D_REENTRANT"
+ # Request iCL use direct memory allocator by default for
+ # MT release builds.
+ CCOPTS="$CCOPTS -DICL_MEM_DEFAULT_DIRECT"
+ BOOM_SUPPORTS_MT=1 # MT code is supported
+ [ -z "$BOOM_MODEL_NOOPT" ] && CCNODEBUG="-O2"
+
elif [ "$CCNAME" = "gcc" ]; then # Generic gcc system
STDLIBS="-lm -lsocket -lnsl"
CCOPTS="-Wall"
On 12/7/07, Pieter Hintjens <ph at imatix.com> wrote:
>
> On Dec 7, 2007 5:12 AM, <cimarron at taylors.org> wrote:
>
> > Hello, I'm not sure this is the proper place for this but
> > it is what the http://www.imatix.com/contact page suggests
> > for tecnical questions.
> >
> > This is not a question, just a report of a build error
> > I encountered building the foreign-1.1d7-src.tar.gz package
> > downloaded from http://download.imatix.com/pub/
>
> This list is the best place to discuss such issues.
>
> From the error log, it seems that APR does not work on OS/X 10.5. I'd
> suggest checking this, perhaps trying a raw APR build, and taking it
> up with the APR team if this really is an issue.
>
> OpenAMQ does not in any case build on OS/X because there's an
> unresolved OS/X issue in GSL that breaks the code generation process.
>
> -Pieter
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20071207/68dc0313/attachment.htm
More information about the openamq-dev
mailing list