Root install problem with centos 07

I am sorry but i am really really beginner…
Do you mean that ROOT 6.14 will not cause “cmake” command problem that i had mentioned?
and where can i get “libXpm headers” that should be included in the libXpm-devel package?
Thanks in advance…
Miran