Hello
While trying to build root I get
-- Found TBB: /opt/homebrew (found suitable version "2022.1", minimum required is "2020")
-- Looking for VDT
-- Found Vdt: /opt/local/include (found suitable version "0.4", minimum required is "0.4")
-- Looking for BLAS for optional parts of TMVA
-- Using GSL CBLAS for optional parts of TMVA
-- tmva-cpu disabled because BLAS was not found
-- TMVA: Numpy or Python development package not found for python /opt/homebrew/Caskroom/miniconda/base/bin/python3.12. Switching off tmva-pymva option
-- PyROOT: development package found. Building for version 3.12.9
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Failed
-- Building LLVM in 'Release' mode.
CMake Deprecation Warning at interpreter/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0114 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
interpreter/llvm-project/llvm/CMakeLists.txt:6 (include)
CMake Deprecation Warning at interpreter/llvm-project/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
interpreter/llvm-project/llvm/CMakeLists.txt:6 (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:412 (include)
interpreter/llvm-project/llvm/CMakeLists.txt:898 (include)
I have tried to cmake ../root -DCMAKE_OSX_SYSROOT=$(xcrun --sdk macosx --show-sdk-path)
but this still does not resolve my errors.
I ve also tried installing with brew that finishes with no errors, but then when I try to open I get
root -l
fatal error: module map file '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/std_darwin.modulemap' not found
<<< cling interactive line includer >>>: fatal error: module file '/private/tmp/root-20250408-18619-fisguy/root-6.34.08/builddir/lib/std.pcm' not found: module file not found
<<< cling interactive line includer >>>: note: imported by module 'Darwin' in '/opt/homebrew/Cellar/root/6.34.08/lib/root/Darwin.pcm'
Failed to load module Darwin
Module std not found.
Failed to load module ROOT_Foundation_C
Failed to load module ROOT_Rtypes
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Core
Failed to load module Rint
Failed to load module RIO
Failed to load module MathCore
Failed to load module Hist
Failed to load module SpectrumPainter
Failed to load module XMLParser
Failed to load module RooFitHS3
Failed to load module SPlot
Failed to load module TreePlayer
Failed to load module Foam
Failed to load module ROOTBrowserv7
Failed to load module ROOTBrowsable
Failed to load module Rint
Failed to load module FFTW
Failed to load module GCocoa
Failed to load module FITSIO
Failed to load module RIO
Failed to load module MathCore
Failed to load module Fumili
Failed to load module FitPanel
Failed to load module RHTTP
Failed to load module Spectrum
Failed to load module ASImageGui
Failed to load module pthread
Failed to load module ROOTHistDraw
Failed to load module Net
Failed to load module Gviz3d
Failed to load module Graf
Failed to load module WebGui6
Failed to load module Eve
Failed to load module GeomPainter
Failed to load module RMySQL
Failed to load module ROOTEve
Failed to load module Cling_Runtime_Extra
Failed to load module Darwin
Failed to load module RDAVIX
Failed to load module HistPainter
Failed to load module Ged
Failed to load module GuiBld
Failed to load module TMVAGui
Failed to load module ROOTWebDisplay
Failed to load module RootAuth
Failed to load module EG
Failed to load module Gui
Failed to load module RooFit
Failed to load module MathMore
Failed to load module Hist
Failed to load module ROOTDataFrame
Failed to load module TreeViewer
Failed to load module Gpad
Failed to load module Physics
Failed to load module RCsg
Failed to load module Minuit2
Failed to load module Thread
Failed to load module Imt
Failed to load module PyMVA
Failed to load module ROOTHist
Failed to load module Graf3d
Failed to load module Quadp
Failed to load module Hbook
Failed to load module Postscript
Failed to load module ROOTGraphicsPrimitives
Failed to load module Genetic
Failed to load module ROOT_Rtypes
Failed to load module RSQLite
Failed to load module HistFactory
Failed to load module RooFitMore
Failed to load module ROOTGeomViewer
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Smatrix
Failed to load module ROOTFitPanelv7
Failed to load module Geom
Failed to load module MultiProc
Failed to load module Minuit
Failed to load module RooStats
Failed to load module TMVAUtils
Failed to load module ROOTGpadv7
Failed to load module GuiHtml
Failed to load module ROOTTPython
Failed to load module MLP
Failed to load module XMLIO
Failed to load module TMVA
Failed to load module RooFitXRooFit
Failed to load module NetxNG
Failed to load module Tree
Failed to load module SQLIO
Failed to load module RHTTPSniff
Failed to load module ROOTNTuple
Failed to load module ROOTTMVASofie
Failed to load module ROOTVecOps
Failed to load module ASImage
Failed to load module RGL
Failed to load module Matrix
Failed to load module RooFitJSONInterface
Failed to load module Recorder
Failed to load module Gdml
Failed to load module ROOT_Foundation_C
Failed to load module ROOTTreeViewer
Failed to load module GenVector
Failed to load module Cling_Runtime
Failed to load module RooFitCore
Failed to load module Core
Failed to load module ROOTNTupleUtil
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] TCling::TCling(char const*, char const*, char const* const*, void*) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCling.so] CreateInterpreter (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCore.so] TROOT::InitInterpreter() (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCore.so] ROOT::Internal::GetROOT2() (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libCore.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/lib/root/libRint.so] TRint::TRint(char const*, int*, char**, void*, int, bool, bool) (no debug info)
[/opt/homebrew/Cellar/root/6.34.08/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
I have installed latest XCode etc.
Thanks
-a