hi,
I wish to compile install the latest root in my MacBook. however, it displays the following output errors
"CMake Error at /Users/pedanter/root_build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-Release.cmake:49 (message):
Command failed: 2
‘/usr/local/bin/gmake’"
and
"
CMake Error at /Users/pedanter/root_build/VDT-prefix/src/VDT-stamp/VDT-configure-Release.cmake:49 (message):
Command failed: 1
Hm, unfortunately that error message doesn’t help much. Is that the only output of cmake?
First off, are you building ROOT with builtin_freetype or not? If not, do you have Freetype installed?
Second, I see you’re using cmake 4 and we’ve seen some related issues in the past days: have you checked this thread with a similar problem?
I have changed the cmake 4 to cmake 3.31.6. However, it still can’t work![ 0%] Performing build step for ‘FREETYPE’
[ 0%] Built target OPENUI5
[ 0%] Built target RENDERCORE
[ 0%] Built target VDT
[ 0%] Built target MATHJAX
[ 1%] Updating etc/gitinfo.txt.
[ 1%] Built target move_header_gui_browsable
– Found Git: /usr/local/bin/git (found version “2.49.0”)
[ 1%] Built target copymodulemap
[ 1%] Built target GLEW
[ 1%] Built target gitinfotxt
[ 1%] Built target move_header_builtins_glew
[ 1%] Performing build step for ‘DAVIX’
[ 1%] Built target move_header_graf3d_rglew
[ 2%] Built target move_header_graf3d_eve
[ 2%] Built target move_header_graf3d_csg
[ 2%] Built target move_header_graf3d_gl
[ 2%] Built target move_header_graf3d_gviz3d
CMake Error at /Users/pedanter/root_build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-Release.cmake:49 (message):
Command failed: 2
Just to be sure: is this a clean build or did you pull over an existing repo and built incrementally? If it’s the latter I’d suggest removing the build dir and trying again.
CMake Error at /Users/pedanter/root_build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-Release.cmake:49 (message):
Command failed: 2
'/usr/local/bin/gmake'
See also
/Users/pedanter/root_build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-*.log
I don’t want to spam the thread, but in my case I cannot go past the cmake
-- The ASM compiler identification is AppleClang
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
-- Found Python3: /opt/homebrew/Caskroom/miniconda/base/bin/python3.12 (found suitable version "3.12.9", minimum required is "3.0") found components: Interpreter
-- Found LibEdit: /Library/Developer/CommandLineTools/SDKs/MacOSX15.4.sdk/usr/include (found version "2.11")
-- Found Terminfo: /Library/Developer/CommandLineTools/SDKs/MacOSX15.4.sdk/usr/lib/libcurses.tbd
-- The xar file format has been deprecated: LLVM_HAVE_LIBXAR might be removed in the future.
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Library/Developer/CommandLineTools/SDKs/MacOSX15.4.sdk/usr/include
CMake Error at interpreter/llvm-project/llvm/cmake/modules/CheckAtomic.cmake:59 (message):
Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
interpreter/llvm-project/llvm/cmake/config-ix.cmake:407 (include)
interpreter/llvm-project/llvm/CMakeLists.txt:841 (include)
-- Configuring incomplete, errors occurred!