CACAO Installation
(CacaoDownload explains how to get CACAO.)
You need to install GNU Classpath first. Please refer to the GNU Classpath distribution for instructions.
Building CACAO Releases
To build CACAO from source, unpack the release tarball and do
./configure --prefix=$PREFIX --with-classpath-prefix=$CLASSPATHPREFIX make make install
where
- $PREFIX
is the directory you want to install CACAO to (eg. /usr/local)
- $CLASSPATHPREFIX
- is the prefix you used for installing classpath
The last step may require root access.
Depending on your Java compiler you may need to specify a boot classpath. For example you can use the following command to build CACAO using jikes:
JAVAC=jikes BOOTCLASSPATH=$CLASSPATHPREFIX/share/classpath/glibj.zip ./configure ...
Building SVN versions
CACAO SVN only builds with GNU Classpath CVS HEAD currently, because of changes to the VM interface of GNU Classpath.
If you have checked out CACAO from SVN, you must first run the command
./autogen.sh
Then you can proceed with the steps for building from a tarball.