I think only for root lower than root-6 configure command works. So I used cmake
mkdir root-build cd root-build cmake ../root-6.14.02 make
It configured well with cmake and upon make it gave following errr which I mentioned in my previous comment.