[ILUG] http://www.linux.ie/archive/msg02119.html Re: checking
whether the C compiler (gcc ) works... no
Con.Hennessy at airtel-atn.com
Mon Sep 18 10:40:39 IST 2000
Luke Trif wrote:
> Hello ilug,
> I am using Linux mandrake and am getting the same msg on everything
> that i try to compile. i cant install anything that is in *.tar
> format. If you can take a look at the errors that i am getting and
> point me in the right direction i would apreciate it..
> i have ran the command you specified in the reply msg and pasted the
> results in here
> I am using linux mandrake 7.0 with gcc ver 2.95
> sh -x ./configure >configure.log 2>&1
> checking for gcc... gcc
> > checking whether the C compiler (gcc ) works... no
> > configure: error: installation or configuration problem: C compiler
Is it possible that either the compielr gcc is not installed or that it is
not installed correctly ?
What results do you get if you save the text below (e.g. to example.c ) :
printf("hello world\n" );
and try to compile it with the command "gcc example.c -o example".
This should prove whether your compiler works or not.
More information about the ILUG