Can not compile ROOT 5.12 for Mac

I tried to install ROOT 5.12 on mac

with gcc

gcc -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 Thread model: posix gcc version 4.0.0 (Apple Computer, Inc. build 5026)

I did

cvs -d :pserver:cvs@root.cern.ch:/user/cvs co -r v5-12-00 root cd root ./configure --build=debug --enable-qt --enable-table --disable-cern --disable-python make

I got

bin/rmkdepend -R -fmathmore/src/Chebyshev.d -Y -w 1000 -- -pipe -W -Wall -Wno-long-double -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -D__cplusplus -- mathmore/src/Chebyshev.cxx g++ -g -pipe -W -Wall -Wno-long-double -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DUSEPCH -include precompile.h -o mathmore/src/Chebyshev.o -c mathmore/src/Chebyshev.cxx In file included from mathmore/src/Chebyshev.cxx:37: mathmore/src/GSLFunctionWrapper.h:34:26: error: gsl/gsl_math.h: No such file or directory In file included from mathmore/src/Chebyshev.cxx:38: mathmore/src/GSLChebSeries.h:34:31: error: gsl/gsl_chebyshev.h: No such file or directory mathmore/src/GSLFunctionWrapper.h:73: error: ISO C++ forbids declaration of 'gsl_function' with no type mathmore/src/GSLFunctionWrapper.h:73: error: expected ';' before '*' token mathmore/src/GSLFunctionWrapper.h:76: error: expected `;' before 'double' mathmore/src/GSLFunctionWrapper.h:79: error: 'gsl_function' does not name a type mathmore/src/GSLFunctionWrapper.h: In member function 'void ROOT::Math::GSLFunctionWrapper::SetFuncPointer(double (*)(do

What I did wrong :blush: ?

Thank you.

On some macos, configure mis-guess whether gsl is present or not.
In your case just disable mathmore.

Cheers,
Philippe