Hi, I am trying to install ROOT on my Mac Catalina 10.15.6. I already had xQuartz. I am using my Z shell (zsh). I downloaded Cmake (version 3.18.3) using brew install cmake. And then I did:
cd /usr/local/
sudo git clone --depth 1 https://github.com/root-mirror/root.git
sudo chown -R $(whoami):$(id -g -n $(whoami)) root
cd root
mkdir compile
cd compile
cmake -Dpython=ON -Droofit=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/root ..
But I get the following (sorry if it’s too long, I don’t wanna cut some possible valuable info):
– The C compiler identification is AppleClang 11.0.3.11030032
– The CXX compiler identification is AppleClang 11.0.3.11030032
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found Git: /usr/bin/git (found version “2.24.3 (Apple Git-128)”)
– Detected ROOT_VERSION 6.23.01
– Looking for Python
– Found Python3: /opt/anaconda3/bin/python3.8 (found version “3.8.3”) found components: Interpreter Development NumPy Development.Module Development.Embed
– Found Python2: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version “2.7.16”) found components: Interpreter Development NumPy Development.Module Development.Embed
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Found a macOS system 10.15
– Found an x86_64 system
– Performing Test GLIBCXX_USE_CXX11_ABI
– Performing Test GLIBCXX_USE_CXX11_ABI - Failed
– ROOT Platform: macosx
– ROOT Compiler: AppleClang 11.0.3.11030032
– ROOT Processor: x86_64
– ROOT Architecture: macosx64
– Build Type: ‘Release’ (flags = ‘-O3 -DNDEBUG’)
– Compiler Flags: -std=c++11 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
– ROOT default compression algorithm: zlib
CMake Error at cmake/modules/RootBuildOptions.cmake:393 (message):
Option ‘python’ is no longer supported in ROOT 6.23.01.
Call Stack (most recent call first):
CMakeLists.txt:131 (include)
– Configuring incomplete, errors occurred!
See also “/usr/local/root/compile/CMakeFiles/CMakeOutput.log”.
See also “/usr/local/root/compile/CMakeFiles/CMakeError.log”.
I have no idea how to proceed. I looked for similar problems from other people but couldn’t find anything. Thanks in advance.