I tried to build the SVN version of Mozart on Mac OS 10.6 and had a few issues. 
I used macports for the various third party libraries needed. The configure 
statement I used was:

./configure --prefix=/Users/myname/oz \
  --with-inc-dir=/opt/local/include \
  --with-lib-dir=/opt/local/lib \
  --enable-modules-static \
  --enable-contrib

The issues I faced were:

1) DSS wouldn't build. It was trying to find the libgmp headers and libraries 
and couldn't due to the /opt/local/include and /opt/local/lib not being 
included in the paths in the DSS makefile. It seems these are not passed from 
the configure script.

2) There is an error trying to use libENV.so which I worked around by making it 
libENV.dylib instead.

3) The Tk module is called libTk but this conflicts with macports shared 
library libtk due to Mac OS X being case insensitive (but case preserving) so 
link errors occur. I worked around by making the module libOZTk in the various 
makefiles and scripts.

For those interested in building on Mac OS X with macports I've put the patch I 
made here:

http://bluishcoder.co.nz/oz/mozart_osx.patch

The patch also includes a tweak to the 'oz' command to look for 
"/Applications/Aquamacs Emacs.app" and uses that over the built in terminal 
based emacs that ships with Mac OS X.

Chris.
-- 
http://www.bluishcoder.co.nz

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to