Mon-Ouie / mozart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Other


Languages

Language:C++ 79.3%Language:C 14.6%Language:Emacs Lisp 1.4%Language:XSLT 1.3%Language:Shell 1.3%Language:Perl 1.2%Language:Java 0.8%Language:R 0.1%Language:Racket 0.0%