Source distribution

Installing of the CCM Tools requires the following steps once you get the source code. (Pretend that the source tarball you got was ccmtools-A.B.X.tar.gz.) You will need to configure, build, and install the binary files, and then set environment variables appropriately:

  ~> tar xvzf ccmtools-A.B.X.tar.gz
  ~> cd ccmtools-A.B.X
  ~> export CCMTOOLS_HOME=<ccm_tools_path>
  ~> ./autogen.py --prefix=$CCMTOOLS_HOME
  ~> make
  ~> make install
  ~> export PATH=<ccm_tools_path>/bin:$PATH
  ~> export CLASSPATH=$CCMTOOLS_HOME/share/java/ccmtools.jar: \
                      $CCMTOOLS_HOME/share/java/antlr.jar:    \
                      $CLASSPATH

You can also use the binary distribution, which includes a minimal set of Jar archives, templates, and documents. To install this distribution, download the binary distribution (again assume ccmtools-A.B.X.bin.tar.gz) file and do the following:

  ~> tar xvzf ccmtools-A.B.X.bin.tar.gz
  ~> cd ccmtools-A.B.X
  ~> export CCMTOOLS_HOME=`pwd`
  ~> export PATH=`pwd`/bin:$PATH
  ~> export CLASSPATH=`pwd`/share/java/ccmtools.jar: \
                      `pwd`/share/java/antlr.jar:    \
                      $CLASSPATH



2003-11-09