# Build ROOT from source on MacOS Monterey. ERROR: RInt.pcm is out of date

**URL:** <https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011>\
**Category:** ROOT\
**Tags:** root\
**Created:** [May 18, 2022, 7:30am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011 "2022-05-18T07:30:38Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ela](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@Ela](https://root-forum.cern.ch/u/Ela)\
**Post date:** [May 18, 2022, 7:30am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/1 "2022-05-18T07:30:39Z")

</div>

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:

> [@WSL Build from source error: RInt.pcm is out of date \\ cannot read module signature](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564):
>
> 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?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 18, 2022, 8:25am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/2 "2022-05-18T08:25:22Z")

</div>

Welcome to the ROOT forum.

Is it the first time you install it ? I mean your build directory is empty ?

---

<div class="post-metadata">

**Author:** ![Ela](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@Ela](https://root-forum.cern.ch/u/Ela)\
**Post date:** [May 18, 2022, 8:35am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/4 "2022-05-18T08:35:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 18, 2022, 8:37am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/5 "2022-05-18T08:37:45Z")

</div>

Ok, as you get an error in MathCore may be @moneta has an idea.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [May 18, 2022, 8:47am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/6 "2022-05-18T08:47:38Z")

</div>

Try “`make -k`” several times.

---

<div class="post-metadata">

**Author:** ![Ela](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@Ela](https://root-forum.cern.ch/u/Ela)\
**Post date:** [May 18, 2022, 10:44am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/7 "2022-05-18T10:44:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 18, 2022, 11:48am UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/8 "2022-05-18T11:48:42Z")

</div>

What are your cmake options ?

---

<div class="post-metadata">

**Author:** ![Ela](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@Ela](https://root-forum.cern.ch/u/Ela)\
**Post date:** [May 18, 2022, 12:09pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/9 "2022-05-18T12:09:59Z")

</div>

Sorry! I forgot to mention that.

```auto
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

```

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 18, 2022, 12:12pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/10 "2022-05-18T12:12:55Z")

</div>

Does it work if you do simply:

```auto
cmake -Dall=ON ../root_src

```

?

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [May 18, 2022, 1:07pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/11 "2022-05-18T13:07:15Z")

</div>

This is a known problem, see [C++ modules: dependency issue on out of date Rint.pcm · Issue #10271 · root-project/root · GitHub](https://github.com/root-project/root/issues/10271)

---

<div class="post-metadata">

**Author:** ![Ela](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@Ela](https://root-forum.cern.ch/u/Ela)\
**Post date:** [May 18, 2022, 2:08pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/12 "2022-05-18T14:08:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ela](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@Ela](https://root-forum.cern.ch/u/Ela)\
**Post date:** [May 18, 2022, 2:09pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/13 "2022-05-18T14:09:43Z")

</div>

I see. It seems there is no way to fix it so far, right?

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [May 18, 2022, 2:17pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/14 "2022-05-18T14:17:46Z")

</div>

If it’s just a “missing dependency”, then running “`make -k`” several times in a row should “overcome” it.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [June 1, 2022, 2:18pm UTC](https://root-forum.cern.ch/t/build-root-from-source-on-macos-monterey-error-rint-pcm-is-out-of-date/50011/15 "2022-06-01T14:18:16Z")

</div>

Closed on June 1, 2022, 2:18pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
