This page provides step-by-step instructions for intalling xtc's source release. A separate page provides the reference for xtc's development setup.
Remember to fix any errors before moving on to the next step.
sudo apt-get update sudo apt-get install build-essential openjdk-6-jdk dejagnuThe first command updates APT's package index, and the second command installs the
dejagnupackages as well as their dependencies. Since these commands change your system's configuration, you will need to provide your superuser password.
./configure make sudo make installThe 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.
fondadirectories inside the
xtcdirectory contained in the source distribution.
JAVA_DEV_ROOTmust point to xtc's directory.
CLASSPATHmust point to the
classesdirectory and the
JAVA_HOMEmust point to your Java installation.
. setup.shThis makes the environment variable definitions visible in the current shell. You need to perform this step every time you start a new shell, e.g., by opening a terminal window.
make configure make make docThe first command configures xtc for your system's C compiler. The second command builds xtc's classes. The third command builds xtc's documentation (to be found in the
make checkIf the command completes with “*** Happy happy joy joy! ***,” your are in great shape.
the.package.name, by creating the
Makefilefor your new package by changing the definitions for
Makefilein xtc's root directory, i.e., by adding the package name to the list of packages