After Xcode installation and trying to build mc I've got:
configure: error: C compiler cannot create executables
Google offers to install Xcode correctly (this is a different story however) or to reinstall it. Hmmm. Good idea but in my case the following simple action solved the issue: symlinks for compilers - that's all ! KISS