Getting error while installing ROOT 6.20.04

Hello

I am getting errors of the form given in [1] when building the latest root release. I am posting just a single line, but there are several lines of similar error with all referring to clang::CodeGen .

[1] undefined reference to `clang::CodeGen::CodeGenModule::isTypeConstant(clang::QualType, bool)'

_ROOT Version: 6.20.04
_Platform: Ubuntu 18.04
_Compiler: 3.10.2


May be @vvassilev knows about it.

Is your compiler gcc version 3.10?

Yes 3.10.2

The compiler should be “g++ 7.5.0” ("g++ --version").

Can it be that you mean “cmake 3.10.2” ("cmake --version")?
If yes, it is probably too old so, you should download and install (e.g. into “/usr/local” or into your “${HOME}”) a new binary distribution (the “Latest” or the “Previous” Release) from: https://cmake.org/download/

Note that, after installing a new CMake version, you need to start building ROOT from scratch again (i.e. first delete the the old ROOT “<builddir>”).

BTW. The ROOT team provides ready-to-use binary distributions for some systems, including various Ubuntu versions, which you just need to download and unpack (see “Using binaries” therein).

Yes I meant the cmake version. Thanks for all your responses. I will try it.