# CMake Generate step failed rhel8

**URL:** <https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400>\
**Category:** ROOT\
**Tags:** cmake\
**Created:** [June 15, 2021, 6:47am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400 "2021-06-15T06:47:29Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [June 17, 2021, 7:32am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/11 "2021-06-17T07:32:56Z")

</div>

Before trying to build a new ROOT version, make sure that nothing in your “environment” points to another ROOT version.  
Check:

```bash
which root
which rootcint
echo ${ROOTSYS}
echo ${PATH}
echo ${LD_LIBRARY_PATH}
echo ${PYTHONPATH}
echo ${CMAKE_PREFIX_PATH}

```

---

_[View the full topic](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400)._
