#Worked for me:
#CentOs 6.5 minimal on (VirtualBox)
#disabled selinux
yum -y groupinstall "Development Tools"
yum -y install wget
yum update -y && reboot
#CentOS/RHEL 6, 32 Bit (i686):
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
#CentOS/RHEL 6, 32 Bit (i386):
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#CentOS/RHEL 6, 32 Bit (i386):
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
#CentOS/RHEL 6:
rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
#pulling bitcoin-master from git, python and stratum... then
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xzvf db-4.8.30.NC.tar.gz
cd ./db-4.8.30.NC.tar.gz
cd build_unix &&
../dist/configure --prefix=/usr \
--enable-compat185 \
--enable-dbm \
--disable-static \
--enable-cxx &&
make
make install
yum install boost boost-devel boost-doc
yum install openssl openssl-devel
cd ~/
cd ./bitcoin-master
./autogen.sh
./configure
make
all done.