# Installation issue in Ubuntu 26.04.1 LTS

**URL:** <https://root-forum.cern.ch/t/installation-issue-in-ubuntu-26-04-1-lts/65029>\
**Category:** Newbie\
**Tags:** cling, installation\
**Created:** [October 15, 2026, 1:43am UTC](https://root-forum.cern.ch/t/installation-issue-in-ubuntu-26-04-1-lts/65029 "2026-10-15T01:43:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [October 15, 2026, 8:24am UTC](https://root-forum.cern.ch/t/installation-issue-in-ubuntu-26-04-1-lts/65029/3 "2026-10-15T08:24:16Z")

</div>

> [@Soumalya](#):
>
> At 63% of building from source this error occurs.

This sounds like a well-known deficiency in the ROOT building procedure.

You seem to have another ROOT version installed somewhere (and “initialized” in your setup).

Before building a new ROOT version, always make sure that nothing in your environment variables (i.e., whatever the “`${ROOTSYS}/bin/thisroot.sh`” script sets, e.g., “`${ROOTSYS}`”, “`${PATH}`”, “`${LD_LIBRARY_PATH}`”, “`${PYTHONPATH}`”, “`${CMAKE_PREFIX_PATH}`”, and so on) points to another existing version of ROOT. Otherwise, you may end up with a broken build.

> [@CMake Generate step failed rhel8](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/11):
>
> Before trying to build a new ROOT version, make sure that nothing in your “environment” points to another ROOT version. Check: which root which rootcint echo ${ROOTSYS} echo ${PATH} echo ${LD\_LIBRARY\_PATH} echo ${PYTHONPATH} echo ${CMAKE\_PREFIX\_PATH}

If you want to reconfigure/rebuild your ROOT, always start from a clean “build directory” (i.e., remove it and create a new one), so that no remnants of any “old build” are present.

---

_[View the full topic](https://root-forum.cern.ch/t/installation-issue-in-ubuntu-26-04-1-lts/65029)._
