I have found something related in this post: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=7958, therefore I installed gfortran and then tried ./configure --with-g77=gfortran but the result is still: Fortran compiler: g77 -O -mieee-fp, and make still fails as before.