$ yum groupinstall "Development tools"
$ yum groupinstall "Compatibility libraries"
$ yum install glibc-devel.i686
the solution is between ./configure and make command to edit Makefile and replace
./configure CC='gcc -m32' CXX='g++ -m32'
make && make install