Hello,
I mistakenly removed my root installation 6.30.04 and tried reinstalling (with Both 6.30.04 and 6.30.02) after updating to MacOS 14.4.1. I am getting the following error after the command make -j6:
In file included from input_line_3:2:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/Rtypes.h:193:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/TGenericClassInfo.h:22:10: remark: building module 'std_vector' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_vector.pcm' [-Rmodule-build]
#include <vector>
^
Error: Building module 'std_vector' implicitly. If 'std_vector' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_vector'.
Otherwise, specify '-mByproduct std_vector' to disable this diagnostic.
In file included from input_line_7:16:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/TExecutorCRTP.hxx:15:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/TSeq.hxx:15:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/TError.h:37:10: remark: building module 'std_functional' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_functional.pcm' [-Rmodule-build]
#include <functional>
^
Error: Building module 'std_functional' implicitly. If 'std_functional' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_functional'.
Otherwise, specify '-mByproduct std_functional' to disable this diagnostic.
In file included from input_line_7:16:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/TExecutorCRTP.hxx:15:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/TSeq.hxx:222:10: remark: building module 'std_sstream' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_sstream.pcm' [-Rmodule-build]
#include <sstream>
^
Error: Building module 'std_sstream' implicitly. If 'std_sstream' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_sstream'.
Otherwise, specify '-mByproduct std_sstream' to disable this diagnostic.
In file included from input_line_7:17:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/TSequentialExecutor.hxx:20:10: remark: building module 'std_numeric' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_numeric.pcm' [-Rmodule-build]
#include <numeric> //std::accumulate
^
Error: Building module 'std_numeric' implicitly. If 'std_numeric' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_numeric'.
Otherwise, specify '-mByproduct std_numeric' to disable this diagnostic.
In file included from input_line_7:24:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/Riostream.h:24:10: remark: building module 'std_fstream' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_fstream.pcm' [-Rmodule-build]
#include <fstream>
^
Error: Building module 'std_fstream' implicitly. If 'std_fstream' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_fstream'.
Otherwise, specify '-mByproduct std_fstream' to disable this diagnostic.
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/Riostream.h:25:10: remark: building module 'std_iostream' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_iostream.pcm' [-Rmodule-build]
#include <iostream>
^
Error: Building module 'std_iostream' implicitly. If 'std_iostream' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_iostream'.
Otherwise, specify '-mByproduct std_iostream' to disable this diagnostic.
In file included from input_line_7:26:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/TApplication.h:30:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/TQObject.h:42:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/TVirtualQConnection.h:16:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/TInterpreter.h:31:10: remark: building module 'std_map' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_map.pcm' [-Rmodule-build]
#include <map>
^
Error: Building module 'std_map' implicitly. If 'std_map' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_map'.
Otherwise, specify '-mByproduct std_map' to disable this diagnostic.
In file included from input_line_7:40:
In file included from /Users/prabhatsharma/Documents/root-6.30.02/obj/include/TBuffer.h:26:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/TClass.h:39:10: remark: building module 'std_unordered_set' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_unordered_set.pcm' [-Rmodule-build]
#include <unordered_set>
^
Error: Building module 'std_unordered_set' implicitly. If 'std_unordered_set' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_unordered_set'.
Otherwise, specify '-mByproduct std_unordered_set' to disable this diagnostic.
In file included from input_line_7:111:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/RDirectoryEntry.hxx:21:10: remark: building module 'std_chrono' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_chrono.pcm' [-Rmodule-build]
#include <chrono>
^
Error: Building module 'std_chrono' implicitly. If 'std_chrono' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_chrono'.
Otherwise, specify '-mByproduct std_chrono' to disable this diagnostic.
In file included from input_line_7:116:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/root_std_complex.h:13:10: remark: building module 'std_complex' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_complex.pcm' [-Rmodule-build]
#include <complex>
^
Error: Building module 'std_complex' implicitly. If 'std_complex' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_complex'.
Otherwise, specify '-mByproduct std_complex' to disable this diagnostic.
In file included from input_line_7:131:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/TCollectionProxyInfo.h:25:10: remark: building module 'std_forward_list' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_forward_list.pcm' [-Rmodule-build]
#include <forward_list>
^
Error: Building module 'std_forward_list' implicitly. If 'std_forward_list' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_forward_list'.
Otherwise, specify '-mByproduct std_forward_list' to disable this diagnostic.
In file included from input_line_7:151:
/Users/prabhatsharma/Documents/root-6.30.02/obj/include/ROOT/RLogger.hxx:20:10: remark: building module 'std_list' as '/Users/prabhatsharma/Documents/root-6.30.02/obj/lib/std_list.pcm' [-Rmodule-build]
#include <list>
^
Error: Building module 'std_list' implicitly. If 'std_list' requires a
dictionary please specify build dependency: 'G__Core.cxx' depends on 'std_list'.
Otherwise, specify '-mByproduct std_list' to disable this diagnostic.
make[2]: *** [core/G__Core.cxx] Error 1
make[1]: *** [core/CMakeFiles/G__Core.dir/all] Error 2
make: *** [all] Error 2
I installed it with the same commands as below a few days ago and it worked, I even factory reset my MacBook M1 air to ensure a fresh install.
./configure --enable-asimage --enable-builtin-freetype --enable-gviz --enable-mathmore --enable-python --enable-qt --enable-roofit --enable-tmva --enable-xft
cmake -Dgnuinstall=ON -DPython3_EXECUTABLE=python3 -Dxrootd=off -Dminuit2=ON -Dbuiltin_glew=ON -DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/root/root_source ..
make -j6
Can someone please help me with this?
Thanks
Prabhat