Hi,
Welcome to LQ!
For this you have to install openmotif-devel also.
and also these dependencies -
Code:
# yum install libtermcap-devel
# yum install libXt-devel
# yum install openmotif-devel
Hope you are paying to redhat for this and connected to RHN.