Error Building ROOT on MaCOS Catalina

Hi,

I’m getting the following error when building the latest version of ROOT.

git clone https://github.com/root-project/root
mkdir rootbuild rootinstall
cd rootbuild
cmake -DCMAKE_INSTALL_PREFIX=../rootinstall -DPython3_EXECUTABLE=/usr/local/bin/python3 ../root
cmake --build . -- -j6

Thanks.

ROOT Version: Installed (6.21.01), Building (Github#master branch, ROOT 6.23.01)
Platform: MacOS Catalina 10.15.7
Compiler: AppleClang 10.0.1.10010046

Hi

Do you have the latest xcode installed and run the command
xcode-select --install ?

This is needed before building ROOT

Lorenzo

Hi Lorenzo,

I think xcode is up to date.

➜  ~ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

I have removed ROOT 6.21.01 flags and now things seem to be working correctly.

Regards,
Ahmat