...
- Create a working directory for CLHEP and go into it.
No Format mkdir clhep cd clhep
- Download the CLHEP tarball.
No Format wget http://cern.ch/clhep/clhep-1.9.2.0.tgz
- Unzip to your work directory.
No Format tar zxvf clhep-1.9.2.0.tgz
- Change to CLHEP directory.
No Format cd 1.9.2.0/CLHEP
- Run configure. (Takes a long time!)
No Format ./configure --prefix=`cd ../..; pwd` --disable-shared
- Build the library and install it.
No Format make make install
- Add the following to $sim_work/setup.sh
No Format export CLHEP_BASE_DIR=$sim_work/clhep
Geant4
- Return to the work dir.
No Format cd $sim_work
- Create a Geant4 work dir and go into it.
No Format mkdir geant4 cd geant4
- Download the Geant4 tarball.
No Format wget http://geant4.cern.ch/geant4/source/source/geant4.7.0.p01.tar.gz
- Unzip it.
No Format tar zxvf geant4.7.0.p01.tar.gz
...