Skip to main content.
home | support | download

Back to List Archive

Re: "/lib/cpp" fails sanity check?

From: Brendan Jones <brendan.jones(at)not-real.optusnet.com.au>
Date: Mon Jun 19 2006 - 12:47:59 GMT
Hello again,

Well it appears that my webhoster does not allow C programs to be  
compiled on their servers.  That's why gcc doesn't work (even though  
gcc is there!)

Plan B - can anyone provide a binary suitable for running on Linux,  
Kernel version 2.6.9-34.ELsmp Machine Type i686?

Thanks.

--
Brendan Jones


On 13/02/2006, at 2:07, Bill Moseley wrote:

>> You can look at config.log in full at
>> http://members.optusnet.com.au/~brendan.jones/config.log.  Go to line
>> 729 of the log where it says "configure:4028: error: C preprocessor
>> "/lib/cpp" fails sanity check".
>
> Doesn't look like it's able to compile much.  Something looks quite
> broken.  Can you compile and link basic programs?
>
> conftest.c:12:19: stdio.h: No such file or directory
> conftest.c:13:23: sys/types.h: No such file or directory
> conftest.c:14:22: sys/stat.h: No such file or directory
> conftest.c:17: error: syntax error before '*' token
>
>
> Seems like there was some issue with gcc on some version of Redhat,
> but I might be making that up.
>
> Anyway, try building a few test programs.  If those work, try the
> programs that configure is trying and are failing and see if you get
> the same results.
>
> -- 
> Bill Moseley
> moseley@hank.org
Received on Mon Jun 19 05:48:00 2006