Build root with x11 (not cocoa) on macOS High Seirra

I built root on my mac with x11. but some error confused me.

cmake -Dx11=ON -Dcocoa=OFF .........
Scanning dependencies of target hsimple
[100%] Generating tutorials/hsimple.root
fatal error: malformed or corrupted AST file: 'Corrupted AST file'
fatal error: malformed or corrupted AST file: 'Corrupted AST file'
fatal error: malformed or corrupted AST file: 'Corrupted AST file'
Error in <TInterpreter::AutoParse>: Error parsing payload code for class TGlobal with content:

any one had met this problem?
thank you.___
ROOT Version: 6.14.02
Platform: macos
Compiler: Cling


Is ROOT installed anyway ?

no. Firstly,I thought it was the reason of x11. Then I tried to install root with cocoa. Same error appared.
Maybe it’s the reason of clang or xcode?

The basic simple procedure in the Building section of this page works for me.
If you google “fatal error: malformed or corrupted AST file: ‘Corrupted AST file’” you will find many posts related Xcode … may be read some of them, you may find the solution.

it’s ok… I will try. Thank you !

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