How to install root without TMVA packages

Dear Experts,
Could you please give me instruction how to install root without tmva packages. Because every time I am trying to install it I am getting error at the same place(at tmva).

Thanks and regards

Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

cmake -Dtmva=OFF path/to/source

I followed the same procedure as mentioned in the link. I am same getting error when everything is done.

Processing hsimple.C…
Error in TApplication::ExecuteFile: macro hsimple.C not found in path ~/TMVA/macros
CMakeFiles/hsimple.dir/build.make:66: recipe for target ‘tutorials/hsimple.root’ failed
make[2]: *** [tutorials/hsimple.root] Error 1
CMakeFiles/Makefile2:177: recipe for target ‘CMakeFiles/hsimple.dir/all’ failed
make[1]: *** [CMakeFiles/hsimple.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

[100%] Built target Eve
[100%] Built target TMVAGui
Makefile:151: recipe for target ‘all’ failed
make: *** [all] Error 2

Dear Wile_E_Coyote,
@Axel I am waiting for your reply otherwise I am not getting any other way of installing root.

Thanks and regards


  • this is not a problem with TMVA but with ROOT not finding tutorials/hsimple.C
  • and that makes no sense whatsoever.

So here come my questions to understand better what’s happening:

  • where did you get ROOT from, can you post the exact link?
  • which directory are you building in?
  • what is the cmake invocation you use?


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