RE: gcc not finding .h files (was:Squid on SCO - how to install?)

From: Mike <MikeHawkins@dont-contact.us>
Date: Thu, 19 Mar 1998 11:40:02 +1000

>OK, I wrote a sample.c program and when I went to compile it this is what I
>got:
>
>sample.c:1: stdio.h: No such file or directory
>sample.c:2: math.h: No such file or directory
>
>I have put the path to gcc into my profile but apparently gcc can't find the
>header files. Any suggestions?
>
>Mike
>
>
>
>
>
>----------
>From: Alfonso Correas[SMTP:acserra@ibm.net]
>Sent: Thursday, March 19, 1998 10:51 AM
>To: Mike; squid-users@nlanr.net
>Subject: Re: OK - now about gcc not compiling (was:Squid on SCO - how to
>install?)
>
>Mike wrote:
>>
>> OK I have changed ownership and group to root and sys respectively.
>>
>> Now when I run ./configure I get the following:
>>
>> loading cache ./config.cache
>> checking host system type... i586-pc-sco3.2v5.0.4
>> checking for gcc... gcc
>> checking whether the C compiler (gcc -g) works... no
>> configure: error: installation or configuration problem: C compiler
>> cannot create executables.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> Any suggestions? I think what I'm going to do now is write a quick test
>> C program and check the compiler can do something simple. Unless someone
>> has a better idea.
>
>Ummmm! something stinks me about libraries..... if any gcc guru is on
>the list, could answer you.
>
>Regards,
> Alfonso Correas
> Comm NetWorks
>
>
>
Received on Wed Mar 18 1998 - 16:47:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:25 MST