# 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:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![aurelien](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/67e7ee/32.png) [@aurelien](https://root-forum.cern.ch/u/aurelien)\
**Post date:** [June 17, 2021, 9:03am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/21 "2021-06-17T09:03:56Z")

</div>

```auto
# cmake -B /users5/appli/produits/root-6.24/build -S /users5/appli/produits/root-6.24
CMake Error: The source directory "/users5/appli/produits/root-6.24" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

```

the option was passed

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [June 17, 2021, 9:05am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/22 "2021-06-17T09:05:37Z")

</div>

As I mentioned I think your source directory is `/shared-dir1/appli/produits/root-6.24/root-6.24.00`, not `/shared-dir1/appli/produits/root-6.24`. Please pass `/shared-dir1/appli/produits/root-6.24/root-6.24.00` (or whatever path your ROOT sources are at) to the `-S` option.

---

<div class="post-metadata">

**Author:** ![aurelien](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/67e7ee/32.png) [@aurelien](https://root-forum.cern.ch/u/aurelien)\
**Post date:** [June 17, 2021, 10:12am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/23 "2021-06-17T10:12:36Z")

</div>

Thanks … you can close the topic 😉

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [June 17, 2021, 10:45am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/24 "2021-06-17T10:45:19Z")

</div>

Alright! And our README has been updated: [GitHub - root-project/root: The official repository for ROOT: analyzing, storing and visualizing big data, scientifically](https://github.com/root-project/root/#installation-and-getting-started)

---

<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:** [July 1, 2021, 10:45am UTC](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400/25 "2021-07-01T10:45:48Z")

</div>

Closed on July 1, 2021, 10:45am UTC

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

[Previous page](https://root-forum.cern.ch/t/cmake-generate-step-failed-rhel8/45400.md?page=1)
