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
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../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.
data
and fonda
directories inside the xtc
directory contained in the source distribution.bin
directory.setup.sh
:
JAVA_DEV_ROOT
must point to xtc's directory.CLASSPATH
must point to the classes
directory and the junit.jar
and javabdd.jar
JAR files.JAVA_HOME
must point to your Java installation.
/Library/Java/Home
./usr/lib/jvm/java-6-openjdk
.source setup.shor
. 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
doc
subdirectory).
make checkIf the command completes with “*** Happy happy joy joy! ***,” your are in great shape.
the.package.name
, by creating
the src/the/package/name
directory.Makefile
.Makefile
for your new package by changing
the definitions for PACKAGE
, PACKAGE_LOC
,
and SOURCE
.Makefile
in xtc's root
directory, i.e., by adding the package name to the list of
packages PACKAGES
.