Trouble Installing

The easiest way would be to build ROOT “in-place” (in case anything goes wrong you’ll have additional “configure.out.txt” and “make.out.txt” files to look into):

rm -rf v5-34-00-patches
git clone -b v5-34-00-patches http://root.cern.ch/git/root.git v5-34-00-patches
cd v5-34-00-patches
unset ROOTSYS
./configure --enable-soversion --all > configure.out.txt 2>&1
make > make.out.txt 2>&1

On some newer operating systems, you may need to add “--enable-gsl-shared --disable-fitsio” into the “configure” step.

Note: if you want to debug your code, you might like to modify the “configure” step:

./configure --enable-soversion --all --build=debug > configure.out.txt 2>&1

If you want to rebuild your ROOT, remember to always start from a clean source code (so that no remnants of any “old build” are present, for example run “make distclean” or maybe better “make maintainer-clean” before the new “configure” step).

Don’t miss the “Build Prerequisites” page: root.cern.ch/drupal/content/build-prerequisites