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

Brendan Jones <[email protected]>
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
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
> [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.