You were probably wise not to post the entire config.log. It would be more helpful to isolate the errors and post them.
It looks as if the C Compiler is not working. Also, were you doing the compiling as root or as user? (I'm not sure that's relevant, but it might be. I always compile as root.)
This is a shot in the dark, but, as I recall, Mint does not ship with a compiler out of the box as many Mint users do not compile from sources and distros are always looking for ways to slim down the *.iso files. Open Synaptic and verify that gcc is installed.
I think I had to do that in order to compile from sources on Mint, but it's been several months and I didn't write anything down.
Last edited by frankbell; 08-18-2014 at 09:17 PM.