Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This guide provides a step-by-step walkthrough covering package and tool installation.

Preliminaries

Tools

You need the following.

  • cvs
  • g++
  • make
  • gzip
  • tar

If your system is missing one of these, then you have serious problems anyways!

Also, for retrieving files via http, wget is useful.

Work Area

The SLIC package and its dependencies will be installed into a common work area.

...

Tip

The $sim_work/setup.sh script will henceforth be referred to as setup.sh. At the end, it will have all of the environment variables required by SLIC and its dependencies. Throughout the guide, any time a line is added to setup.sh, you should also execute this line in your current bash shell. Probably the easiest way to do this is by adding to the script first and then (re)sourcing it.

Java

Java is required for LCIO installation.

  1. Install an appropriate JDK from http://java.sun.com/ with a minimum version of 1.4.2.
  2. In your setup.sh, set JAVA_HOME and JDK_HOME to the Java installation area.
    No Format
    
    export JAVA_HOME=/cygdrive/c/java/jdk1.4.2/
    export JDK_HOME=${JAVA_HOME}
    export PATH=$JDK_HOME:$JDK_HOME/bin
    
  3. To test the Java installation, try to run the Java compiler.
    No Format
    
    javac
    
Warning

The above JAVA_HOME directory is an example only. You need to replace it with the correct path to your JDK.

Info

Technically, installation of the LCIO C++ libraries only requires a Java JRE, but the JDK is useful for doing reconstruction and analysis where you may want to compile Java programs.

Proceed to Package Installation!

...

Package Installations

You are now ready to install the simulation packages.

Info

Possibly some of these software packages already exist on your system.
You still need to setup the environment accordingly. Scan over the package installation instructions to see what environment variables need to be defined. Usually, this is one variable per package.

Tip

The same shell window should be used throughout the installation process in order to preserve the environment variables.

...

CLHEP

CLHEP has installation instructions for version 1.9 and up. But you should not need them to setup the package.

...