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-java-runtime-library-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 hg versions

/!\ CACAO hg only builds with GNU Classpath CVS HEAD currently.

If you have checked out CACAO from hg, you must first run the command

./autogen.sh

Then you can proceed with the steps for building from a tarball.

cacaowiki: CacaoInstall (last edited 2008-08-30 13:52:09 by StefanRing)