Well, I would think something is wrong with gcc since you got:
checking whether C compiler (gcc) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Are you doing this as root or a regular user ? Have you tried as root ? I would first try to redownload the program first since it stated at the beginning " checking whether C compiler works... no ", could be a bad download in this case, if that doesn't work, may want to update gcc due to that error.