[SOLVED] Troubles making root 6.12.06 on mac Mojave 10.14

_ROOT Version: 6.12.06
_Platform: MacOS Mojave 10.14
_Compiler: clang-1000.11.45.5 (?)

Hi all,

I get a compilation error in root 6.12.06.
I successfully built it in a separate folder from the one where I extracted the tarball, and I am making it with

cmake --build .

I get this error, and I looked for it in this forum finding a suggestion about updating Xcode like this

xcode-select --install

I did that and recompiled but in the end I get the very same error.
And yes, i did all the procedure from scratch after updating Xcode.
Any idea?

[53%] Built target Dictgen

[ 53%] Built target rootcling_stage1

[ 53%] Built target G__Core

[ 53%] Performing configure step for 'LZMA'

CMake Error at /Applications/root-6.12.06-build/LZMA-prefix/src/LZMA-stamp/LZMA-configure-RelWithDebInfo.cmake:16 (message):

Command failed: 1

'/Applications/root-6.12.06-build/LZMA-prefix/src/LZMA/configure' '--prefix' '/Applications/root-6.12.06-build' '--libdir' '/Applications/root-6.12.06-build/lib' '--with-pic' '--disable-shared' '--quiet' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++' 'CFLAGS=-Wno-format-nonliteral' 'LDFLAGS=-Qunused-arguments'

See also


make[2]: *** [LZMA-prefix/src/LZMA-stamp/LZMA-configure] Error 1

make[1]: *** [CMakeFiles/LZMA.dir/all] Error 2

make: *** [all] Error 2

mac-fantini:root-6.12.06-build gfantini$ ls /Applications/root-6.12.06-build/LZMA-prefix/src/LZMA-stamp/LZMA-configure-*.log



mac-fantini:root-6.12.06-build gfantini$ cat /Applications/root-6.12.06-build/LZMA-prefix/src/LZMA-stamp/LZMA-configure-err.log

configure: error: in `/Applications/root-6.12.06-build/LZMA-prefix/src/LZMA':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details

mac-fantini:root-6.12.06-build gfantini$ cat /Applications/root-6.12.06-build/LZMA-prefix/src/LZMA-stamp/LZMA-configure-out.log

XZ Utils 5.2.1

System type:

Configure options:

Initializing Automake:

mac-fantini:root-6.12.06-build gfantini$

Thanks a lot!

Hi Guido,

I am not sure we test 6.12 on Mojave routinely, but surely 6.14 is battle tested. Did you try to build 6.14/08?


Tried with 6.14.06 and compiles. Thanks a lot!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.