ILCSoft local installation
If you need support contact eldwan.brianne@desy.de
Contents
A superbuild package has been developed to install the minimum required software for Testbeam. This package take care of downloading and building the necessary packages and creates a script init_ilcsoft.sh for initialization.
You can find the package here : https://github.com/CALICETB/ILCSoftInstall
Installation
First get the package locally
git clone https://github.com/CALICETB/ILCSoftInstall
Pre-Requirements
You need to have theses packages installed :
- python-dev
- libbz2-dev
- g++ 4.8 minimum
ROOT Pre-requirements : https://root.cern.ch/build-prerequisites
- CMake 2.8 minimum
- git
- OpenSSL
- subversion with neon/serf modules
perl > 5.14
python > 2.6
- JDK/JRE (Java development toolkit)
glut libraries --> freeglut3-dev
- libncurses5-dev (ubuntu 14)
- libxrender-dev (ubuntu 14)
Maybe some missing there
Options
ENABLE_C++11 (default ON) to build using c++11 BUILD_QT (default ON) to build Qt 4.7.4 BUILD_BOOST (default ON) to build boost 1.58 BUILD_MYSQL (default ON) to build mysql Example :
cmake -DENABLE_C++11=ON -DBUILD_QT=OFF ..
Building
ILCSoft Base :
- Qt 4.7.4
- ROOT
- Boost 1.58
- GSL
- CLHEP
- MySQL 5.1.73
- ILCUtil
- CED
- CondDBMySQL
- XercesC
ILCSoft Core :
- Marlin
- LCIO
- LCCD
- Gear
Compilation
if MySQL is already on your machine :
mkdir build cmake -DMYSQL_DIR=<path/to/mysql> .. make
Otherwise :
mkdir build cmake .. make
Installation from scratch in Ubuntu 14.04
# default stuff sudo apt-get update sudo apt-get update && sudo apt-get install build-essential #root prerequisites sudo apt-get install git dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev \ libxft-dev libxext-dev sudo apt-get install gfortran libssl-dev libpcre3-dev \ xlibmesa-glu-dev libglew1.5-dev libftgl-dev \ libmysqlclient-dev libfftw3-dev cfitsio-dev \ graphviz-dev libavahi-compat-libdnssd-dev \ libldap2-dev python-dev libxml2-dev libkrb5-dev \ libgsl0-dev libqt4-dev #other basics sudo apt-get install python-dev libbz2-dev g++-4.8 \ git openssl perl python subversion \ freeglut3-dev libncurses5-dev libxrender-dev #java sudo apt-get install default-jdk sudo apt-get install default-jre #cmake (for eudaq you need >3.0) sudo apt-get install software-properties-common sudo add-apt-repository ppa:george-edison55/cmake-3.x sudo apt-get update sudo apt-get install cmake sudo apt-get upgrade sudo apt-get install cmake-qt-gui #install ilcsoft cd /home/calice/Desktop git clone https://github.com/CALICETB/ILCSoftInstall cd ILCSoftInstall mkdir build cd build cmake .. make