GithubHelp home page GithubHelp logo
For more information on Oz and Mozart see

	https://mozart.github.io/

We would appreciate if you could send E-mail to the
mozart-users mailing list:

        https://groups.google.com/forum/#!forum/mozart-users

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 zlib1g-dev:i386 libgmp-dev:i386
$ mkdir -p ~/dev/mozart
$ cd ~/dev/mozart
$ git clone https://github.com/mozart/mozart
$ mkdir build
$ cd build
$ ../mozart/configure --prefix=$HOME/oz --disable-contrib-gdbm 
$ make && make install
$ export OZHOME=$HOME/oz
$ export PATH=$PATH:$OZHOME/bin

Change the prefix path and `OZHOME` to where you want it installed. Run `oz` to start the IDE.

Building mozart for OS X
------------------------
In the instructions below, replace <username> with your Mac OS username.

Install homebrew https://brew.sh + xcode dependency
$ brew install emacs --with-cocoa
$ brew install git gmp gdbm flex tcl-tk

Install 32-bit gmp:
$ curl -O https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
$ tar xvf gmp-6.1.2.tar.bz2
$ cd gmp-6.1.2
$ ./configure CFLAGS="-arch i386" CXXFLAGS="-arch i386" ABI="32" --prefix=/Users/<username>/oz
$ make
$ sudo make install

Build and install Mozart/Oz
$ git clone https://github.com/mozart/mozart.git
$ CXX="g++ -Wno-deprecated" \
  PATH="/usr/local/opt/tcl-tk/bin:/usr/local/opt/flex/bin:$PATH" \
  PKG_CONFIG_PATH="/usr/local/opt/tcl-tk/lib/pkgconfig" \
  LDFLAGS="-L/usr/local/opt/flex/lib" \
  CPPFLAGS="-I/usr/local/opt/flex/include" \
  ./configure --prefix=/Users/<username>/oz --enable-modules-static \
              --with-tcl=/usr/local/Cellar/tcl-tk/8.6.8/lib/ \
              --with-tk=/usr/local/Cellar/tcl-tk/8.6.8/lib
$ make 
$ make install
amend and append the below to the ~/.bash_profile file
export OZHOME=/Users/<username>/oz
export PATH=$PATH:$OZHOME/bin

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 : https://mozart.github.io/mozart-v1/doc-1.4.0/install/index.html

Mozart, an implementation of Oz's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.