Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Merge pull request #173 from grasGendarme/patch-1

Update for recent aquamacs
latest commit f7589b8bc7
Gustavo Gutiérrez ggutierrez authored

README

For more information on Oz and Mozart see

	http://www.mozart-oz.org

We would appreciate if you could send E-mail to

	download@mozart-oz.org

with some brief information for what you plan to use Mozart.

Have lots of fun!

-=Compilation=-

Building mozart for Arch Linux.
--------------------------------------
sudo packer -S mozart-git

Building mozart for Ubuntu/Debian (x64).
----------------------------------
$ sudo apt-get install emacs flex bison tk-dev build-essential g++-multilib lib32z1-dev lib32gmp3-dev
$ mkdir -p ~/dev/mozart
$ cd ~/dev/mozart
$ git clone git://github.com/mozart/mozart.git
$ ./configure --prefix=/home/<username>/oz --disable-contrib-gdbm
$ make && make install
amend and append the below to your ~/.profile file
export OZHOME=/home/<username>/oz
export PATH=$PATH:$OZHOME/bin

Building mozart for OS X
-------------------------------
install homebrew https://github.com/mxcl/homebrew + xcode dependency
$ brew install git emacs gmp gdbm
$ mkdir ~/oz
$ mkdir -p ~/dev/mozart
$ cd ~/dev/mozart
$ git clone git://github.com/mozart/mozart.git
$ mkdir build
$ cd build
$ ../mozart/configure --prefix=/Users/<username>/oz
$ make && make install
amend and append the below to the ~/.bash_profile file
export OZHOME=/Users/<username>/oz
export PATH=$PATH:$OZHOME/bin

Building mozart in OS X (X86_64)
--------------------------------
Install gmp:
$ curl -O  ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2
$ tar xvfj gmp-4.3.2.tar.bz2
$ cd gmp-4.3.2
$ ./configure CFLAGS="-arch i386" CXXFLAGS="-arch i386" ABI="32" --prefix=/usr/local
$ make
$ sudo make install

Install Mozart:
$ git clone git://github.com/mozart/mozart.git
$ cd mozart
$ export CFLAGS="-arch i386"
$ export CPPFLAGS="-arch i386"
$ export LDFLAGS="-arch i386"
$ ./configure  --prefix=/usr/local --disable-contrib-gdbm --disable-doc --disable-contrib-micq
$ make
$ sudo make install

In case of any errors please send a message to the hackers list and _include_ the output
of the following commands:
$ uname -a
$ gcc --version
$ lipo -info /usr/local/lib/libgmp.dylib 


Installation.
-------------

Please refer to this website for more detail : http://www.mozart-oz.org/documentation/install/index.html
Something went wrong with that request. Please try again.