# Error in cling while installing root from pre-build binary

**URL:** <https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385>\
**Category:** ROOT\
**Tags:** root\
**Created:** [September 15, 2023, 5:16pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385 "2023-09-15T17:16:50Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bharat\_Kharpuse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bharat\_Kharpuse](https://root-forum.cern.ch/u/Bharat_Kharpuse)\
**Post date:** [September 15, 2023, 5:16pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/1 "2023-09-15T17:16:51Z")

</div>

Hello ROOT Community,

I am encountering an issue with my ROOT 6.28/06 installation on Ubuntu 22.04. When I attempt to use a program associated with ROOT, I receive the following error message:  
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!  
Invoking:  
LC\_ALL=C ccache -xc++ -E -v /dev/null 2\>&1 | sed -n -e ‘/^.include/,${’ -e ‘/^ /.\*++/p’ -e ‘}’  
Results was:  
With exit code 0

I have downloaded the pre-compile binary from the CERN ROOT website

ROOT Version:\_ 6.28/06  
_Platform:_ UBUNTU 22.04 LTS  
_Compiler:_ C++

* * *

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [September 18, 2023, 7:40am UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/2 "2023-09-18T07:40:59Z")

</div>

Dear @Bharat_Kharpuse ,

There are a few related issues, you can search the forum yourself, but this one might give a first step towards a solution [ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths! dell machine](https://root-forum.cern.ch/t/error-in-cling-createci-cannot-extract-standard-library-include-paths-dell-machine/50105) .

Let me know if it helps,  
Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![Bharat\_Kharpuse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bharat\_Kharpuse](https://root-forum.cern.ch/u/Bharat_Kharpuse)\
**Post date:** [September 18, 2023, 8:11am UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/3 "2023-09-18T08:11:48Z")

</div>

Dear Vincenzo

Firstly thanks, for your attention to my error. As you suggest there are a few more similar queries in the root forum but none of them is helpful. I have followed that discussion there is one discussion that has solved the problem in the Mac OS but I have tried in Linux to do the same in the context of Linux OS but I have not been able to successfully imply it.

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [September 18, 2023, 1:30pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/4 "2023-09-18T13:30:12Z")

</div>

Thanks for your report. We need to fix this; I will try to get that done for the upcoming v6.30.

Until then, does this help?

```auto
sudo apt install ccache

```

?

---

<div class="post-metadata">

**Author:** ![Bharat\_Kharpuse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bharat\_Kharpuse](https://root-forum.cern.ch/u/Bharat_Kharpuse)\
**Post date:** [September 18, 2023, 1:47pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/5 "2023-09-18T13:47:20Z")

</div>

Dear Axel,

I greatly appreciate your attention to my msg. I attempted the suggestion you provided, but unfortunately, it did not yield the desired outcome.

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [September 18, 2023, 3:23pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/6 "2023-09-18T15:23:08Z")

</div>

Can you share (again, the current) the output of

```auto
ccache --version
g++ --version
root

```

?

---

<div class="post-metadata">

**Author:** ![Bharat\_Kharpuse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bharat\_Kharpuse](https://root-forum.cern.ch/u/Bharat_Kharpuse)\
**Post date:** [September 18, 2023, 3:57pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/7 "2023-09-18T15:57:23Z")

</div>

Yes, Sure. Here is the output of the given command.

bharat@bharat-VirtualBox:~$ ccache --version

ccache version 4.5.1

bharat@bharat-VirtualBox:~$ g++ --version

g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

bharat@bharat-VirtualBox:~$ root

ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!

Invoking:

LC\_ALL=C ccache -xc++ -E -v /dev/null 2\>&1 | sed -n -e ‘/^.include/,${’ -e ‘/^ /.\*++/p’ -e ‘}’

Results was:

With exit code 0

root [0]

* * *

Thanks

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [September 18, 2023, 4:11pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/8 "2023-09-18T16:11:01Z")

</div>

Thanks, super helpful! I’ll try to reproduce this tomorrow, please ping me should you not hear back from me!

---

<div class="post-metadata">

**Author:** ![Bharat\_Kharpuse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bharat\_Kharpuse](https://root-forum.cern.ch/u/Bharat_Kharpuse)\
**Post date:** [September 18, 2023, 4:27pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/9 "2023-09-18T16:27:30Z")

</div>

Yes, Sure.

Thanks for your help.

Best Regards,  
Bharat

---

<div class="post-metadata">

**Author:** ![Bharat\_Kharpuse](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bharat\_Kharpuse](https://root-forum.cern.ch/u/Bharat_Kharpuse)\
**Post date:** [September 19, 2023, 1:31pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/10 "2023-09-19T13:31:47Z")

</div>

Dear @Axel, this is just a follow-up to your last reply.

Thanks,

Bharat

---

<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:** [October 3, 2023, 1:31pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/11 "2023-10-03T13:31:54Z")

</div>

Closed on October 3, 2023, 1:31pm UTC

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

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [October 7, 2023, 1:03pm UTC](https://root-forum.cern.ch/t/error-in-cling-while-installing-root-from-pre-build-binary/56385/12 "2023-10-07T13:03:35Z")

</div>

Opened on October 7, 2023, 1:03pm UTC


