13.6.2014 Installing ROOT 6 on SL6 (the source archive ftp://root.cern.ch/root/root_v6.00.00.source.tar.gz does not have the correct directory structure) git clone http://root.cern.ch/git/root.git - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - root 6 needs gcc version >= 4.8 and the corresponding libraries install devtoolset-2 from RedHat sudo wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo sudo yum install devtoolset-2 (installs gcc but also eclipse (large)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - start a shell with the devtoolset linked: scl enable devtoolset-2 zsh check: gcc -v export CPLUS_INCLUDE_PATH="/usr/local/include/gcc483" (or wherever your gcc 4.8 header files are) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cd root ./configure --help | less my choice: ./configure linuxx8664gcc --with-cc=/usr/local/gcc483/gcc --with-cxx=/usr/local//gcc483/g++ --with-f77=/usr/local/gcc483/gfortran --with-gcc-toolchain=/usr/local/gcc483/g++ --enable-mathmore --enable-memstat --enable-minuit2 --enable-roofit --enable-tmva --enable-unuran --disable-xrootd --disable-afdsmgrd --disable-afs --disable-bonjour --disable-globus --disable-xml make (takes one hour) ============================================================ === ROOT BUILD SUCCESSFUL. === === Run 'source bin/thisroot.sh' before starting ROOT === ============================================================ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - every day: git pull (scl enable devtoolset-2 zsh) (export CPLUS_INCLUDE_PATH="/usr/local/include/gcc483") make