Tutorials in roofit don't run

I am running roofit and pyroot examples from the tutorials folder.

The errors indicate that the compiler is unable to locate the libraries :

Processing fillrandom.py…
Error: Invalid type ‘#To’ in declaration of ‘see the output of this macro,click begin_html’ fillrandom.py:5:
Error: Symbol #To see the output of this macro,click begin_html is not defined in current scope fillrandom.py:5:
Error: Symbol here is not defined in current scope fillrandom.py:5:
Syntax Error: “gif/fillrandom.gif”>here.end_html from ROOT import TCanvas fillrandom.py:5:
Error: Invalid type ‘#To’ in declaration of ‘see the output of this macro, click begin_html<a href’ fillrandom.py:5:
*** Interpreter error recovered ***

root -l rf205_compplot.C
root [0]
Processing rf205_compplot.C…
Error: cannot open file “RooRealVar.h” rf205_compplot.C:17:
*** Interpreter error recovered ***

I checked the /usr/include/root folder and couldn’t find related roofit libraries. How can I install the additional libraries?

Hi,

how did you actually ran the pyroot tutorial? It seems you did not try using python.
As for the second error, it looks like that either the environment is not properly set up or the installation is not complete: how did you install and set up root?

Danilo