How to build Alice for Mozart
This document describes how to build Alice for Mozart. For instructions on how to build Alice-on-SEAM, see SeamDevelopment.
Mozart (>= 1.2.5, not before 2003-03-13)
Make sure that Mozart's bin directory is in your PATH.
SML/NJ (110.0.7, or current working version), including ML-Lex and ML-Yacc
Make sure that CM_PATH is set up properly. It needs to be set to the directory containing NJ's .cm files, including the ones for ML-Yacc.
Build and install process
Cd to alice root directory
Invoke "make PREFIX=<dir> install" (installs to directory <dir>, to ./install if PREFIX is omitted)
Set PATH appropriately (<dir>/bin)
This builds the Mozart-based system. By using the install-seam.sh script you can also build a snapshot of the upcoming Seam-based system.
Adding support for new platforms
In principle, building should work on most Unix systems without too much hassle, though the involved scripts and makefiles haven't been geared towards true platform independence yet. The install scripts are currently known to work on "as-is" the following systems:
Linux (except for Debian)
Windows + Cygwin (only Seam-based built)
To build on another platform you at least have to perform the following steps:
bootstrap/platform.sh: add an appropriate case for your system
doc/manual/Makefile: set PHP to the name of the system's PHP interpreter
Adapting the build procedure for the Seam-based system might involve a bit more work. The Gtk library may also cause additional problems.