Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
Installing the DST Tools
The DST maker and HpsEvent API require the following packages before they can be built: You must have these build tools available on the system.
These package dependencies must be installed as well (details covered below):
If you want to build the documentation then this is also required.
...
The default, shared Linux environment at SLAC can not be used as the version of gcc is too old.
On SLAC, a A more recent environment can be setup and checked as follows.
...
You should see the following GCC version.
No Format |
---|
gcc (GCC) 4.8.2 |
This version should support C++11.
It is likely your system already has a recent enough version of CMake installed on it.
...
No Format |
---|
$ which cmake /usr/bin/cmake $ cmake cmake version 2.8.12.2 [...] |
If CMake is not found or the version is too old, then follow the Installing CMake guide to build it.
...
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.
Code Block | ||
---|---|---|
| ||
. bin/thisroot.sh |
This should set ROOTSYS to point at your ROOT installation.
Code Block | ||
---|---|---|
| ||
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 install cd ../.. export GBL_DIR=$PWD |
...