I downloaded ntp (Network Time Project). I then ran the configure program. Here is the full output:
checking build system type... ./config.guess: line 1: 5767 Aborted ( $c $dummy.c -c -o $dummy.o ) >/dev/null 2>&1
./config.guess: line 1: 5770 Aborted ( $c $dummy.c -c -o $dummy.o ) >/dev/null 2>&1
i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
checking build system type... ./config.guess: line 1: 6085 Aborted ( $c $dummy.c -c -o $dummy.o ) >/dev/null 2>&1
./config.guess: line 1: 6088 Aborted ( $c $dummy.c -c -o $dummy.o ) >/dev/null 2>&1
i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
What is wrong??
I had this same problem while trying to install apache.
Thanks,
Eric S.