Click to See Complete Forum and Search --> : GCC problem with Mandrake 8.2


bushwacker
06-20-2002, 09:44 PM
I have the Powerpack edition of Mandrake Linux 8.2
and there seems to be a major problem:
gcc wont run so i can't compile *any* programs!

When I run the configure script of any source code,
I get the following error:

[root@Athlon856 everybuddy-0.4.2]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

Whats wrong, and how do I fix this major problem?
Thanks in advance!

mdwatts
06-21-2002, 07:50 AM
This is from just one of the hits I got when searching Google for Linux for "C compiler cannot create executables".

One of the most aggravating errors I encountered while setting up a minimal Linux install was the C compiler cannot create executables from the configure command.

I solved this by installing the kernel-headers and glibc-devel packages with the Red Hat Package Manager, RPM.

A similar issue arises when attempting to install the GNU CCC (C Compiler Collection), GNU binutils are required to get anything done after installing GCC. I wish the installer would check for this; it checks for many other things.