Dear experts,
I am trying to build root from source as there seems to be no precompiled version for MacOS 13.4. However I keep running into some error while building. The first error is the following:
While building module 'Core':
While building module 'std' imported from input_line_1:1:
While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/ctype.h:38:
In file included from <module-includes>:1421:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ncurses.h:141:
/opt/local/include/unctrl.h:61:38: error: cannot initialize a variable of type 'char *' with an lvalue of type 'char *(chtype)' (aka 'char *(unsigned int)')
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^ ~~~~~~
/opt/local/include/unctrl.h:61:61: error: expected ';' after top level declarator
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
As I have only build root from source once and did not have any problems, I do not know how to proceed. Can anyone help?
Thanks,
Emil ROOT Version: 6.28.04 Platform: MacOS 13.4 Compiler: clang
I case somebody else has this problem:
From an old topic Build Error I found out that using make build with -Druntime_cxxmodules=OFF will “solve” the problem. However, I would still like to know what the problem is and how I can solve it.
Thanks
Thanks @couet!
That sounds good. Sadly I am not an expert on computers and therefor many things seem confusion to me. So I just followed the guide for “Installing root from source”. At which points do I need to apply these commands and is the file structure the same?
Thanks,
Emil
Sadly that did not work for me. But also the installation of root v6.24 crashes, so probably it is some error with my computer. So I guess, I will just have to wait until a precompiled version is out.
Thanks,
Emil