You will need to install gcc-c++:

yum -y install gcc-c++
I had this same problem with a CentOS5 installation and fund a fix for it. I thought I would post my fix for the issue even though this thread is quite old.