Unable to compile xps after installing ROOT, missing libraries

I'm trying to install xps in R, and have installed ROOT from CERN. during compile I get: <pre>TMLMath.cxx:51:19: fatal error: TMath.h: No such file or directory #include "TMath.h" ...