# Makefile not found in tmva folder

**URL:** <https://root-forum.cern.ch/t/makefile-not-found-in-tmva-folder/41474>\
**Category:** TMVA\
**Created:** [September 16, 2020, 2:19pm UTC](https://root-forum.cern.ch/t/makefile-not-found-in-tmva-folder/41474 "2020-09-16T14:19:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adityadash](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/b19c9b/32.png) [@adityadash](https://root-forum.cern.ch/u/adityadash)\
**Post date:** [September 16, 2020, 2:19pm UTC](https://root-forum.cern.ch/t/makefile-not-found-in-tmva-folder/41474/1 "2020-09-16T14:19:44Z")

</div>

Hello,  
I have root version 6.14/02. I went through the TMVA users guide in which it is mentioned that to build the library we have to execute make in tmva directory.

 ![1600265446052293117244316717322](https://root-forum.cern.ch/uploads/default/original/3X/b/8/b8c353937f5b18b56adf17ebe043828ded85ceab.jpeg)  
However, in the tmva folder of root, there is no makefile.  
 ![20200916_194305](https://root-forum.cern.ch/uploads/default/original/3X/0/1/01317b7f15623f32c4cfb89323b5b5277f6e1a68.jpeg)

I tried downloading tmva from [sourceforge.net/projects/tmva/files/](http://sourceforge.net/projects/tmva/files/) into q separate folder. However, while executing make it shows the following error

 ![20200916_194819](https://root-forum.cern.ch/uploads/default/original/3X/f/9/f9c72d39d798500f8d92151e3e5d3a8d628dd431.jpeg)

Please guide me how to install TMVA properly.

---

<div class="post-metadata">

**Author:** ![jblomer](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@jblomer](https://root-forum.cern.ch/u/jblomer)\
**Post date:** [September 16, 2020, 8:45pm UTC](https://root-forum.cern.ch/t/makefile-not-found-in-tmva-folder/41474/2 "2020-09-16T20:45:34Z")

</div>

You can enable TMVA with `cmake -Dtmva=on`. Details on building root from sources are available at: [https://root.cern/install/build\_from\_source](https://root.cern/install/build_from_source)

---

<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:** [October 6, 2020, 10:24am UTC](https://root-forum.cern.ch/t/makefile-not-found-in-tmva-folder/41474/3 "2020-10-06T10:24:09Z")

</div>

Hi @adityadash ,  
and welcome to the ROOT forum!

In case it can be useful, note that all recent ROOT releases come with TMVA included, you don’t have to install it separately (that user guide and that repository are quite out of date).

Instructions for installing recent ROOT versions (you don’t necessarily have to compile it from source) can be found at [https://root.cern/install](https://root.cern/install) .

Cheers,  
Enrico
