Error building root

Hello, I was building root and I received multiple errors in my build, I tried to search for this but couldn’t find an answer.

Scientific Linux verison 7
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
cmake version 3.6.2
GNU Make 3.82
Python 2.7.8
[szakirov@localhost ~]$ which python
~/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/bin/python
[szakirov@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 13:12:24 CST 2018 x86_64 x86_64 x86_64 GNU/Linux

Here is the build log and my error occurred in 84% completion. I cut out 0% to 83% due to the character limit but there are no errors there.

[szakirov@localhost ~]$ mkdir build2
[szakirov@localhost ~]$ cd build2/
[szakirov@localhost build2]$ cmake ../root
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ROOT default compression algorithm is lz4
-- Found GCC. Major version 4, minor version 8
-- Performing Test HAS_CXX11
-- Performing Test HAS_CXX11 - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found a 64bit system
-- Found GNU compiler collection
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: linux
-- ROOT Architecture: linuxx8664gcc
-- Build Type: 
-- Compiler Flags:  -pipe -m64  -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -fPIC -pthread -std=c++11 
-- Looking for ZLib
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") 
-- Looking for Unuran
-- Could NOT find UNURAN (missing:  UNURAN_LIBRARY UNURAN_INCLUDE_DIR) 
-- Unuran not found. Switching on builtin_unuran option
-- Looking for Freetype
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.4.11") 
-- Looking for PCRE
-- Could NOT find PCRE (missing:  PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY) 
-- PCRE not found. Switching on builtin_pcre option
-- Building pcre version 8.37 included in ROOT itself
-- Looking for LZMA
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.1 included in ROOT itself
-- Looking for xxHash
-- Could NOT find xxHash (missing:  xxHash_LIBRARY xxHash_INCLUDE_DIR) 
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for LZ4
-- Could NOT find LZ4 (missing:  LZ4_LIBRARY LZ4_INCLUDE_DIR) 
-- LZ4 not found. Switching on builtin_lz4 option
-- Looking for X11
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib64/libX11.so
-- X11_INCLUDE_DIR: /usr/include
-- X11_LIBRARIES: /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- X11_Xpm_INCLUDE_PATH: /usr/include
-- X11_Xpm_LIB: /usr/lib64/libXpm.so
-- X11_Xft_INCLUDE_PATH: /usr/include
-- X11_Xft_LIB: /usr/lib64/libXft.so
-- X11_Xext_INCLUDE_PATH: 
-- X11_Xext_LIB: /usr/lib64/libXext.so
-- Could NOT find GIF (missing:  GIF_LIBRARY GIF_INCLUDE_DIR) 
-- Could NOT find TIFF (missing:  TIFF_LIBRARY TIFF_INCLUDE_DIR) 
-- Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
-- Could NOT find JPEG (missing:  JPEG_LIBRARY JPEG_INCLUDE_DIR) 
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Found GSL: /home/gssctest/ScienceTools-v11r5p3-fssc-20180124/external/x86_64-unknown-linux-gnu-libc2.17/include (found suitable version "1.16", minimum required is "1.10") 
-- Found PythonInterp: /home/szakirov/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/bin/python (found version "2.7.8") 
-- Found PythonLibs: /home/szakirov/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/lib/libpython2.7.so (found version "2.7.8") 
-- Found NUMPY: /home/szakirov/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/lib/python2.7/site-packages/numpy/core/include (found version "1.9.1") 
-- Looking for OpenGL
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) 
-- OpenGL (with GLU) not found. Switching off opengl option
-- Looking for gl2ps
-- Could NOT find GL2PS (missing:  GL2PS_LIBRARY GL2PS_INCLUDE_DIR) 
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Could NOT find LibXml2 (missing:  LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) 
-- LibXml2 not found. Switching off xml option
-- Looking for OpenSSL
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) 
-- OpenSSL not found. Switching off ssl option
-- Looking for Castor
-- Could NOT find CASTOR (missing:  CASTOR_shift_LIBRARY CASTOR_INCLUDE_DIR) 
-- Castor not found. Switching off castor option
-- Looking for MySQL
-- Could NOT find MYSQL (missing:  MYSQL_INCLUDE_DIR MYSQL_LIBRARIES) 
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
--    currently found includes: 
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
--    currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing:  POSTGRESQL_INCLUDE_DIR POSTGRESQL_LIBRARY) 
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
-- Could NOT find Sqlite (missing:  SQLITE_INCLUDE_DIR SQLITE_LIBRARIES) 
-- SQLite not found. Switching off sqlite option
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing:  PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY) 
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- FFTW3 not found. Set [environment] variable FFTW_DIR to point to your FFTW3 installation
--                  Alternatively, you can also enable the option 'builtin_fftw3' to build FFTW3 internally'
--                  For the time being switching OFF 'fftw3' option
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing:  CFITSIO_INCLUDE_DIR CFITSIO_LIBRARY) 
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
--                    For the time being switching off 'fitsio' option
-- Looking for XROOTD
-- XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
--                   Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally
--                   For the time being switching OFF 'xrootd' option
-- Could NOT find GFAL (missing:  GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY) 
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
                      and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Looking for DAVIX
-- Could NOT find DAVIX (missing:  DAVIX_INCLUDE_DIR DAVIX_LIBRARY) 
-- Davix not found. You can enable the option 'builtin_davix' to build the library internally'
--                  For the time being switching off 'davix' option
-- Looking for TBB
-- Could NOT find TBB (missing:  TBB_ROOT_DIR TBB_INCLUDE_DIR TBB_LIBRARY) 
-- TBB not found. Switching on builtin_tbb option
-- Performing Test CXX_HAS_mno_rtm
-- Performing Test CXX_HAS_mno_rtm - Success
-- Looking for BLAS for optional parts of TMVA
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- A library with BLAS API found.
-- Enabled support for:  asimage astiff builtin_afterimage builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_clang builtin_lzma builtin_lz4 builtin_pcre builtin_tbb builtin_unuran builtin_xxhash cling cxx11 exceptions explicitlink gdml genvector http imt mathmore pch python roofit shared thread tmva x11 xft
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Building with -fPIC
-- Constructing LLVMBuild project information
-- Linker detection: GNU ld
-- SysLibs: rt;dl;-lpthread;/usr/lib64/libz.so
-- Targeting X86
-- Clang version: 5.0.0
-- Cling version (from VERSION file): ROOT_0.6~dev
-- Cling will look for C++ headers in '/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux:/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward' at runtime.
-- And if not found, will invoke: 'c++' for them.
-- Performing Test CXX_HAS_Wno_maybe_uninitialized
-- Performing Test CXX_HAS_Wno_maybe_uninitialized - Success
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Success
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Performing Test CXX_HAS_fno_strict_aliasing
-- Performing Test CXX_HAS_fno_strict_aliasing - Success
-- Performing Test CXX_HAS_Wno_parentheses_equality
-- Performing Test CXX_HAS_Wno_parentheses_equality - Success
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Success
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Failed
-- Performing Test found_stdexpstringview
-- Performing Test found_stdexpstringview - Failed
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
Running /home/szakirov/root/build/unix/compiledata.sh
Making /home/szakirov/build2/include/compiledata.h
-- Configuring done
-- Generating done
-- Build files have been written to: /home/szakirov/build2
[szakirov@localhost build2]$ which python
~/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/bin/python
[szakirov@localhost build2]$ cmake --build . -- -j9
Scanning dependencies of target PCRE
Scanning dependencies of target TBB
Scanning dependencies of target LZMA
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TBranchObject.cxx.o
[ 84%] Linking CXX executable ../bin/proofserv.exe
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TBranchRef.cxx.o
[ 84%] Built target proofserv.exe
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TBranchSTL.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TBufferSQL.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TChain.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TChainElement.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TCut.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TEntryList.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TEntryListArray.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TEntryListBlock.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TEntryListFromFile.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TEventList.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TFriendElement.cxx.o
[ 84%] Built target G__MathMore
Scanning dependencies of target MathMore
[ 84%] Building CXX object math/mathmore/CMakeFiles/MathMore.dir/G__MathMore.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TIOFeatures.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeaf.cxx.o
In file included from /home/szakirov/build2/math/mathmore/G__MathMore.cxx:75:0:
/home/szakirov/root/math/mathmore/src/GSLError.h:33:27: fatal error: gsl/gsl_errno.h: No such file or directory
 #include "gsl/gsl_errno.h"
                           ^
compilation terminated.
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafB.cxx.o
[ 84%] Built target G__Matrix
[ 84%] Built target G__Geom
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafC.cxx.o
[ 84%] Building CXX object math/mathmore/CMakeFiles/MathMore.dir/src/ChebyshevApprox.cxx.o
Scanning dependencies of target Matrix
In file included from /home/szakirov/root/math/mathmore/src/ChebyshevApprox.cxx:37:0:
/home/szakirov/root/math/mathmore/src/GSLFunctionWrapper.h:34:26: fatal error: gsl/gsl_math.h: No such file or directory
 #include "gsl/gsl_math.h"
                          ^
compilation terminated.
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/G__Matrix.cxx.o
gmake[2]: *** [math/mathmore/CMakeFiles/MathMore.dir/G__MathMore.cxx.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafD.cxx.o
Scanning dependencies of target Geom
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafElement.cxx.o
gmake[2]: *** [math/mathmore/CMakeFiles/MathMore.dir/src/ChebyshevApprox.cxx.o] Error 1
gmake[1]: *** [math/mathmore/CMakeFiles/MathMore.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafF.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/G__Geom.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafI.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafL.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafO.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafObject.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TLeafS.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TNtuple.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TNtupleD.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TQueryResult.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TSelector.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TSelectorList.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TSelectorScalar.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTree.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTreeCache.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTreeCacheUnzip.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTreeCloner.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTreeResult.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTreeRow.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TTreeSQL.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompBK.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TVirtualIndex.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TVirtualTreePlayer.cxx.o
[ 84%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TreeUtils.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoArb8.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompBase.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompChol.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoAtt.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoBBox.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoBoolNode.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoBranchArray.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompLU.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompQRH.cxx.o
[ 84%] Linking CXX shared library ../../lib/libTree.so
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompSVD.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoBuilder.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoCache.cxx.o
[ 84%] Built target Tree
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoCompositeShape.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoCone.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TDecompSparse.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoElement.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixDEigen.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoEltu.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixDSymEigen.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoExtension.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoGlobalMagField.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoHalfSpace.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixT.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoHelix.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTBase.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTCramerInv.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoHype.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoManager.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoMaterial.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoMatrix.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoMedium.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoNavigator.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTLazy.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTSparse.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoNode.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTSym.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoPara.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoParaboloid.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoParallelWorld.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTSymCramerInv.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoPatternFinder.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoPcon.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoPgon.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoPhysicalNode.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TMatrixTUtils.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoPolygon.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoRegion.cxx.o
[ 84%] Building CXX object math/matrix/CMakeFiles/Matrix.dir/src/TVectorT.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoScaledShape.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoShape.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoShapeAssembly.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoSphere.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoStateInfo.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoTorus.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoTrd1.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoTrd2.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoTube.cxx.o
[ 84%] Linking CXX shared library ../../lib/libMatrix.so
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoVolume.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoVoxelFinder.cxx.o
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TGeoXtru.cxx.o
[ 84%] Built target Matrix
[ 84%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TVirtualGeoConverter.cxx.o
[ 85%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TVirtualGeoPainter.cxx.o
[ 85%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TVirtualGeoTrack.cxx.o
[ 85%] Building CXX object geom/geom/CMakeFiles/Geom.dir/src/TVirtualMagField.cxx.o
[ 85%] Linking CXX shared library ../../lib/libGeom.so
[ 85%] Built target Geom
gmake: *** [all] Error 2

Hi,

I think this is reason of your problem - ROOT somehow cannot fing gsl. Do you have gsl library? (canyou use gsl-config command?)

It works as you can see here

[szakirov@localhost build2]$ gsl-config
Usage: gsl-config [OPTION]

Known values for OPTION are:

–prefix show GSL installation prefix
–libs print library linking information, with cblas
–libs-without-cblas print library linking information, without cblas
–cflags print pre-processor and compiler flags
–help display this help and exit
–version output version information

An external CBLAS library can be specified using the GSL_CBLAS_LIB
environment variable. The GSL CBLAS library is used by default.

[szakirov@localhost build2]$

Do you have this header in /home/gssctest/ScienceTools-v11r5p3-fssc-20180124/external/x86_64-unknown-linux-gnu-libc2.17/include?

I dont have this as my header.

Its this instead

/home/szakirov/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/include

Do you think root is looking for the other directory instead of this one?

Logs shows that ROOT looks for gsl in /home/gsstest not in /home/szarikov. Maybe gsl-config return point to wrong place?

Do you know how should I change this?

Depend on source of the problem - if gsl-config points to wrong place you can just change path to be sure that points to correct place (with correct gsl-config) otherwise I have no simple solution :frowning:

Ill try this but do you know what command to run to change the gsl include location?

First you have to know where are do you have “good” gsl-config - that points to correct directory. Then you have add path to directory with good gsl-config to enviromental $PATH variable (at begin or at end - I’m not sure).

I found the good one, its this
/home/szakirov/Desktop/SRMP/ScienceTools-v11r5p3-fssc-20180124-x86_64-unknown-linux-gnu-libc2.17/x86_64-unknown-linux-gnu-libc2.17/include/gsl

do I set the variable in my .bashrc?

Can you help me set the PATH variable for gsl?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.