Issue Building ROOT from source - issue with ‘FREETYPE'

Hi,
I am trying to build root from source as directed from the ROOT install webpage after being compatible with the MacOS Sequoia 15.4 update but it fails at this part:

[  6%] Built target move_header_hist_hist
[  6%] Copying header /Users/aliggett/root_src/math/genvector/inc/Math/Vector3Dfwd.h to /Users/aliggett/root_build/include
[  6%] Copying header /Users/aliggett/root_src/math/genvector/inc/Math/Vector3D.h to /Users/aliggett/root_build/include
[  6%] Copying header /Users/aliggett/root_src/math/genvector/inc/Math/Vector4D.h to /Users/aliggett/root_build/include
[  6%] Copying header /Users/aliggett/root_src/math/genvector/inc/Math/Vector4Dfwd.h to /Users/aliggett/root_build/include
[  6%] Copying header /Users/aliggett/root_src/math/genvector/inc/Math/VectorUtil.h to /Users/aliggett/root_build/include
[  6%] Built target move_header_math_genvector
-- FREETYPE configure command succeeded.  See also /Users/aliggett/root_build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-*.log
[  6%] Performing build step for 'FREETYPE'
-- FREETYPE build command succeeded.  See also /Users/aliggett/root_build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-*.log
[  6%] No install step for 'FREETYPE'
[  6%] Completed 'FREETYPE'
[  6%] Built target FREETYPE
make: *** [all] Error 2

Any help debugging this problem would be greatly appreciated.


ROOT Version: 6.34
Platform: MacOS Sequoia 15.4
Compiler: Apple clang version 17.0.0 (clang-1700.0.13.3)


At the moment only the tip of the master branch works on MacOS 15.4. We are preparing patches releases of v6.34 and v6.32 that will also work on MacOS 15.4.

1 Like

I now have a new error. It says:

CMake Error at CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument value. Or, use the … syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

However when I check which version of cmake I have, it’s cmake 4.0.0

We also encountered the problem. The issue: Problem with cmake 4.0.0 · Issue #18312 · root-project/root · GitHub contains work-around. Although the easiest work-around is to downgrade CMake.

Which version would you recommend? 3.5?

CMake v3.31.6 should work fine.

1 Like