xtc Installation Notes

This page provides step-by-step instructions for intalling xtc's
source release. A separate page provides
the reference for xtc's development setup.

Step by Step

Remember to fix any errors before moving on to the next
step.

Be sure that you are running
the bash
shell. It is the default interactive shell on both Mac OS and
Linux.

Install all necessary Unix command line tools
(including make), the
Java Development Kit (JDK), and
DejaGnu:

On Linux, these tools need to be installed individually and you
probably want to use a package manager. For example, when using the
Ubuntu distribution of Linux, you can install all necessary tools by
executing the following two commands:

The first command updates APT's package index, and the second command
installs the build-essential, openjdk-6-jdk,
and dejagnu packages as well as their dependencies.
Since these commands change your system's configuration, you will need
to provide your superuser password.

On Mac OS X, necessary Unix command line tools and the JDK are
automatically installed with Apple's
XCode IDE. However,
after installing XCode, you still need to install DejaGnu. First,
download its source distribution. Second, in the root directory of
the source distribution, execute the following three commands (which
are the customary incantations for installing all GNU software):

./configure
make
sudo make install

The first command determines your system's tools and configuration.
The second command builds the binaries. The third command moves the
binaries in the right location. Since the last command changes your
system's configuration, you will need to provide your administrator
password.