Will Arp <warp(at)reboot(dot)ch> writes:
> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.
You need to fix the problem, not rip out the configure test that told
you there was a problem.
It would be useful to look at the portion of config.log that records
this test step. My best guess is that there's something broken about
your gcc installation, but the exact cause is not knowable from just
the summary output.
regards, tom lane