./configure failing on limits.h

Michael Hipp Michael
Wed Jan 12 17:23:55 PST 2005


I'm trying to compile a package from source on a FC3 machine. I'm stuck 
at the ./configure step where it says:

configure:5525: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

In config.log I find this that seems to be the problem:

|                    Syntax error
configure:5450: /lib/cpp  conftest.c
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/syslimits.h:7,
                  from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/limits.h:11,
                  from conftest.c:15:
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/limits.h:122:61: limits.h: 
No such file or directory

But the limits.h file is there and with normal perms. Any thoughts on 
what could be causing this?

Thanks,
Michael


More information about the Linux-users mailing list