# TMVA compilation failed with root

**URL:** <https://root-forum.cern.ch/t/tmva-compilation-failed-with-root/21836>\
**Category:** TMVA\
**Created:** [September 8, 2016, 12:35pm UTC](https://root-forum.cern.ch/t/tmva-compilation-failed-with-root/21836 "2016-09-08T12:35:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [September 8, 2016, 12:35pm UTC](https://root-forum.cern.ch/t/tmva-compilation-failed-with-root/21836/1 "2016-09-08T12:35:45Z")

</div>

Dear expert,

please send me to the right forum if it is not the good one to ask this question:  
I have root 6.00/00 and download TMVA-v4.2.0. Then in TMVA-v4.2.0 I did “make”, but the compilation failed with the error message [1]. echo $PATH gave me [2] and echo $LD\_LIBRARY\_PATH gave me [3]. Do you see what is wrong?  
Regards

[3]  
/exper-sw/sw/sl5/x86\_64/gcc48/root/6.00.00/lib64:/exper-sw/sw/sl5/x86\_64/gcc48/root/6.00.00/lib:/exper-sw/sw/sl6/x86\_64/gcc48/gcc/4.8.3/lib64:/exper-sw/sw/sl6/x86\_64/gcc48/gcc/4.8.3/lib:/exper-sw/sw/sl6/x86\_64/gcc48/gcc/4.8.3/libexec/gcc/x86\_64-unknown-linux-gnu/4.8.3

[2]  
/exper-sw/sw/sl5/x86\_64/gcc48/root/6.00.00/bin:/exper-sw/sw/sl6/x86\_64/gcc48/gcc/4.8.3/bin:/cvmfs/cms.cern.ch/common:/cvmfs/cms.cern.ch/bin:/usr/lib64/qt-3.3/bin:/bin:/opt/lcg/bin:/opt/sge/bin/lx-amd64:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/cvmfs/cms.cern.ch/crab3/slc6\_amd64\_gcc493/cms/crabclient/3.3.1608/bin:/home/t3cms/calpas/bin

[1]  
see logmake file in cc  
[logmake.txt](https://root-forum.cern.ch/uploads/default/original/2X/6/6007068d417b19bd0fdd4cf6e8af86f3b9617225.txt) (9.09 KB)

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [September 9, 2016, 10:09am UTC](https://root-forum.cern.ch/t/tmva-compilation-failed-with-root/21836/2 "2016-09-09T10:09:42Z")

</div>

Hi,

tmva is built as part of ROOT, so you should not build as a standalone package. This is currently not supported with the new version

Cheers

Lorenzo

---

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [September 9, 2016, 5:15pm UTC](https://root-forum.cern.ch/t/tmva-compilation-failed-with-root/21836/3 "2016-09-09T17:15:56Z")

</div>

Dear Lorentzo,

ok, thank you for your answer. But I still do not understand why I do not see any tmva directory when I do “l $ROOTSYS/tmva/”?  
But I can use root so it means that root is setup properly right?

Regards

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [September 10, 2016, 1:41pm UTC](https://root-forum.cern.ch/t/tmva-compilation-failed-with-root/21836/4 "2016-09-10T13:41:08Z")

</div>

Hi,  
It depends how you install Root. You can check if the library ROOTSYS/lib/libTMVA.so exists

Lorenzo
