[openamq-dev] Problems building OpenAMQ on Mac OS X 10.4.10

Terry Jones terry at jon.es
Thu Jan 17 02:27:35 CET 2008


Hi. I just spent about 2 hours building OpenAMQ on Mac OS X 10.4.10.

And that was _after_ I found this thread:
http://lists.openamq.org/pipermail/openamq-dev/2007-December/000483.html

It wasn't at all clear what to do, and the various obvious things I tried
(like applying the patches, separately or together, and running the
modified install script) still produced tons of errors.

I wont go into details of what I ended up doing, except to say that I had
to run ranlib manually a bunch of times (I didn't see how to get that to
happen on _all_ .a files that wound up in the _install and IBASE/lib dirs),
which meant doing C-z, ranlib, fg more than a sane person could bear.

I saw the comment that the patches were going to go into the trunk, but
couldn't see how to pull the trunk code to try building from that - so I
don't know how cleanly the build goes on Mac OS X with the patches properly
applied.  As a result I'm not giving much detail here. I'm happy to test it
and fix problems if someone will tell me how to get the trunk code.

Was the build.sh script generated by another script? It has lines like

  if [ 0 != 0 ]; then

which looks like it might have come from an

  echo "if [ $? != 0 ]; then" >> build.sh

Possibly related, to Cimarron Taylor if you're reading, you can avoid
having the shell expand variables in a here document by quoting the
delimiter, like cat >patch.foreign-1.1d7 <<'EOF'

Regards & thanks for OpenAMQ.

Terry Jones


More information about the openamq-dev mailing list