Versions Compared

Key

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

Installing the DST Tools

Preliminaries

The DST maker and HpsEvent API require the following packages before they can be built: 

...

It is likely your system already has a recent enough version of CMake installed on it.

You can check for this from the shell.

Code Block
languagebash
which cmake
cmake 

It will print something like this if CMake is installed.

No Format
$ which cmake
/usr/bin/cmake

$ cmake
cmake version 2.8.12.2
[...]

If CMake is not found, then follow the Installing CMake guide to build it.

Installing LCIO

noformat
Code Block
language
bash
cd workdir
svn co svn://svn.freehep.org/lcio/trunk lcio-trunk
cd lcio-trunk
mkdir build
cd build
cmake -DINSTALL_DOC=OFF -DINSTALL_JAR=OFF ..
make
cd ..
export LCIO=$PWD

...

Follow the instructions at the ROOT website to install it.  Then you will want to source the setup script which will set the ROOTSYS variable.

noformat
Code Block
languagebash
. bin/thisroot.sh

Installing GBL

noformat
Code Block
languagebash
cd workdir
svn checkout http://svnsrv.desy.de/public/GeneralBrokenLines/tags/V01-16-02 GeneralBrokenLines
cd GeneralBrokenLines/cpp
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../.. ..
make
cd ../..
export GBL_DIR=$PWD

...