Ela
May 18, 2022, 7:30am
1
Hi, everyone!
I am trying to install ROOT (version 6.26.02) from source on MacOS Monterey 12.4. I got the following error:
"[ 86%] Built target Rint
[ 86%] Generating G__MathMore.cxx, …/…/lib/MathMore.pcm
<<< cling interactive line includer >>>: fatal error: module file ‘/Users/ela/root_build/lib/Rint.pcm’ is out of date
and needs to be rebuilt: could not read module signature
<<< cling interactive line includer >>>: note: imported by module ‘MathCore’ in
‘/Users/ela/root_build/lib/MathCore.pcm’
Error: Module ‘MathCore.pcm’ failed to load.
Error: Error loading the default rootcling header files.
make[2]: *** [math/mathmore/G__MathMore.cxx] Error 1
make[1]: *** [math/mathmore/CMakeFiles/G__MathMore.dir/all] Error 2
make: *** [all] Error 2 "
I tried to rebuild it many times, by following all hints in this similar post:
ROOT Version: v6.24.06
Platform: WSL (Ubuntu 18.04)
Compiler: g++ 7.50
Hey everyone! I’m new to ROOT and I’m trying to build it from scratch on WSL using the default instructions from the main website. I’m using the latest stable build from Github. The configuration step goes through as expected without issue using
cmake -DCMAKE_INSTALL_PREFIX=<installdir> <sourcedir>
I’m then building with
cmake --build . --target install
and get the following (this is a non-clean build. The same error …
without succeeding. All of the dependencies required have been installed.
Does anyone know how to fix this issue?
couet
May 18, 2022, 8:25am
2
Welcome to the ROOT forum.
Is it the first time you install it ? I mean your build directory is empty ?
Ela
May 18, 2022, 8:35am
4
Hi! It’s the first time I install it from source .
I mean I made many attempts to solve various errors I got, but I used “make clean” every time I tried to rebuild.
couet
May 18, 2022, 8:37am
5
Ok, as you get an error in MathCore may be @moneta has an idea.
Try “make -k
” several times.
Ela
May 18, 2022, 10:44am
7
Hi! I just tried it, this is what I got:
Consolidate compiler generated dependencies of target rpdutil
[ 74%] Built target rpdutil
[ 74%] Built target ProofBenchPARFiles
make[1]: Target `all’ not remade because of errors.
make: *** [all] Error 2
make: Target `default_target’ not remade because of errors.
couet
May 18, 2022, 11:48am
8
What are your cmake options ?
Ela
May 18, 2022, 12:09pm
9
Sorry! I forgot to mention that.
cmake -DCMAKE_INSTALL_PREFIX=/Users/ela/root_install -DPYTHIA8=ON -DPYTHIA8_INCLUDE_DIR=/Users/ela/Downloads/pythia8245/include -DPYTHIA8_LIBRARY=/Users/ela/Downloads/pythia8245/lib -DCMAKE_CXX_COMPILER=/usr/bin/g++ -Dbuiltin_glew=ON -Dclad=OFF ../root_src
couet
May 18, 2022, 12:12pm
10
Does it work if you do simply:
cmake -Dall=ON ../root_src
?
moneta
May 18, 2022, 1:07pm
11
Ela
May 18, 2022, 2:08pm
12
Done, but I got this : [ 74%] Linking CXX static library …/…/lib/librpdutil.a
[ 74%] Built target rpdutil
[ 74%] Generating …/…/etc/proof/proofbench/ProofBenchCPUSel.par, …/…/etc/proof/proofbench/ProofBenchDataSel.par
[ 74%] Built target ProofBenchPARFiles
make[1]: Target `all’ not remade because of errors.
make: *** [all] Error 2
make: Target `default_target’ not remade because of errors.
Ela
May 18, 2022, 2:09pm
13
I see. It seems there is no way to fix it so far, right?
If it’s just a “missing dependency”, then running “make -k
” several times in a row should “overcome” it.
system
Closed
June 1, 2022, 2:18pm
15
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.