get the ganglia rpm source from ganglia
*some times you may need rpm-build....
yum install rpm-build
now you can see what you are missing.... in my case was:
rpmbuild --rebuild ganglia-3.2.0-1.src.rpm
so I install my missing stuff:
yum install gcc-c++ pcre-devel subversion libtool rrdtool-devel freetype-devel apr-devel libpng-devel libart_lgpl-devel python-devel expat-devel