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.

  1. Be sure that you are running the bash shell. It is the default interactive shell on both Mac OS and Linux.
  2. Install all necessary Unix command line tools (including make), the Java Development Kit (JDK), and DejaGnu:
  3. Download xtc:
  4. Edit xtc's configuration script in setup.sh:
  5. Source xtc's configuration script:
    source setup.sh
    
    or
    . setup.sh
    
    This 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.
  6. Build xtc:
    make configure
    make
    make doc
    
    The 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).
  7. Test xtc:
    make check
    
    If the command completes with “*** Happy happy joy joy! ***,” your are in great shape.
  8. Start developing your own code: You are good to go.