# Error while installing root

**URL:** <https://root-forum.cern.ch/t/error-while-installing-root/40702>\
**Category:** Newbie\
**Created:** [July 28, 2020, 5:54pm UTC](https://root-forum.cern.ch/t/error-while-installing-root/40702 "2020-07-28T17:54:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rick\_Andy](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rick_andy/32/22763_2.png) [@Rick\_Andy](https://root-forum.cern.ch/u/Rick_Andy)\
**Post date:** [July 28, 2020, 5:54pm UTC](https://root-forum.cern.ch/t/error-while-installing-root/40702/1 "2020-07-28T17:54:38Z")

</div>

Dear root experts, I am trying to install the root version 6.22.00 and getting the following error:

```auto
~/root_build$ cmake --build . -- -j4
make: *** No targets specified and no makefile found. Stop.

```

Please help me how to resolve it.

---

<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:** [July 29, 2020, 7:04am UTC](https://root-forum.cern.ch/t/error-while-installing-root/40702/2 "2020-07-29T07:04:55Z")

</div>

Hi @Rick_Andy,  
Have you followed the steps of the [guide](https://root.cern/install/build_from_source/) ? i.e. before building you should configure calling `cmake -DCMAKE_INSTALL_PREFIX=<installdir> <sourcedir>` in the build directory. You can also find all the build options [here](https://root.cern/install/build_from_source/#all-build-options).

If you wish to use ROOT without building from source there are many options available depending on your system, you can find them all at [https://root.cern/install/](https://root.cern/install/)  
Cheers,  
Vincenzo
