Compiling error "root 6.08.02"

I am trying to compile root v6.08.02 on my macbook: OS=10.12.2
I use clang “Apple LLVM version 7.3.0 (clang-703.0.29)”
./configure macosx64 went fine


clang -O2 -DNDEBUG -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/cppsetup.o -c /Users/alhroob/ROOT/build/rmkdepend/cppsetup.c
clang -O2 -DNDEBUG -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/ifparser.o -c /Users/alhroob/ROOT/build/rmkdepend/ifparser.c
clang -O2 -DNDEBUG -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/include.o -c /Users/alhroob/ROOT/build/rmkdepend/include.c
clang -O2 -DNDEBUG -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/main.o -c /Users/alhroob/ROOT/build/rmkdepend/main.c
clang -O2 -DNDEBUG -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/parse.o -c /Users/alhroob/ROOT/build/rmkdepend/parse.c
clang -O2 -DNDEBUG -m64 -pipe -Wshadow -W -Wall -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/pr.o -c /Users/alhroob/ROOT/build/rmkdepend/pr.c
clang++ -O2 -DNDEBUG -m64 -std=c++11 -stdlib=libc++ -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/mainroot.o -c /Users/alhroob/ROOT/build/rmkdepend/mainroot.cxx
clang++ -O2 -DNDEBUG -m64 -mmacosx-version-min=10.12 -stdlib=libc++ -Wl,-rpath,@loader_path/…/lib -o bin/rmkdepend build/rmkdepend/cppsetup.o build/rmkdepend/ifparser.o build/rmkdepend/include.o build/rmkdepend/main.o build/rmkdepend/parse.o build/rmkdepend/pr.o build/rmkdepend/mainroot.o
Running /Users/alhroob/ROOT/build/unix/
Making include/compiledata.h
*** Configuring LLVM in interpreter/llvm/obj/ …
/bin/sh: cmake: command not found
make: *** [interpreter/llvm/obj/CMakeCache.txt] Error 127

It looks like you have to install cmake. BTW, you should use cmake instead of configure for all your ROOT compilation.

I downloaded cmake and compiling right now :smiley:

I unzipped the source file using
tar -zxvf root_v6.08.02.source.tar.gz
the output is root-6.08.02

mkdir ROOT
cmake …/root-6.08.02

I got an error
– Configuring incomplete, errors occurred!
See also “/Users/alhroob/ROOT/CMakeFiles/CMakeOutput.log”.
See also “/Users/alhroob/ROOT/CMakeFiles/CMakeError.log”.

both files are in my public folder

You should read Building ROOT
In short

tar -zxvf root_v6.08.02.source.tar.gz cd root-6.08.02 mkdir build cd build cmake .. make

The same error as before

And what is written in CMakeOutput.log and CMakeError.log?

In addition to these two files, what the full output of the cmake command says?

One thing. Have you install the command line tools? xcode-select --install

I discovered that I was using an old version of xcode, I installed 8.2 and it is compiling right now with full speed

It compiled successfully
I am using it :smiley: