_ROOT Version: 6.10.08
_Platform: Scientific Linux 6.10 (Carbon)
_Compiler: gcc/gcc-c++/cmake
Hi,
I am trying to compile root on a personal server. As far as I can tell, I have all the necessary prerequisites already installed. However, I was not able to ‘sudo yum install cmake’ beyond version 2.8, and so followed these examples to get above cmake version 3.4 to build root:
With this, I should have cmake version 3.6.2; this should work, right?
After I clone from the git repository and checkout branch v6-10-08, I cd back to my build directory and attempt to use cmake:
$ cmake …/root/
– Found GCC. Major version 4, minor version 4
– Found a 64bit system
– Found GNU compiler collection
– ROOT Platform: linux
– ROOT Architecture: linuxx8664gcc
– Build Type: RelWithDebInfo
– Compiler Flags: -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -fPIC -pthread -O2 -g -DNDEBUG
– Looking for ZLib
– Looking for Freetype
– Building pcre version 8.37 included in ROOT itself
– Building LZMA version 5.2.1 included in ROOT itself
– Building LZ4 version v1.7.5 included in ROOT itself
– Looking for X11
– Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
– Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
– Building AfterImage library included in ROOT itself
– Looking for Python
– Found Python interpreter version 2.6
– Looking for OpenGL
– Looking for BLAS for optional parts of TMVA
– A library with BLAS API not found. Please specify library location.
– Enabled support for: asimage astiff builtin_afterimage builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lzma builtin_lz4 builtin_pcre builtin_tbb builtin_unuran cling exceptions explicitlink gdml genvector http imt opengl pch python roofit shared thread tmva x11 xft
CMake Error at interpreter/llvm/src/cmake/modules/CheckAtomic.cmake:52 (message):
Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
interpreter/llvm/src/cmake/config-ix.cmake:317 (include)
interpreter/llvm/src/CMakeLists.txt:459 (include)
– Configuring incomplete, errors occurred!
See also “/home/jbarrow3/buildroot/CMakeFiles/CMakeOutput.log”.
See also “/home/jbarrow3/buildroot/CMakeFiles/CMakeError.log”.
Of course, when I attempt to build, nothing happens:
cmake --build .
gmake: *** No targets specified and no makefile found. Stop.
Suggestions?