./configure failing on limits.h
Net Llama!
netllama
Wed Jan 12 17:29:34 PST 2005
On Wed, 12 Jan 2005, Michael Hipp wrote:
> 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?
What is it that you're trying to build?
After a bit of googling, this sounds like it might be relevant:
http://groups-beta.google.com/group/alt.os.linux.slackware/browse_thread/thread/4d5a7235623cb275/1bac48361bf93b7f?q=limits.h+%22C+preprocessor+%22%2Flib%2Fcpp%22+fails+sanity+check%22&_done=%2Fgroups%3Fas_q%3Dlimits.h%26as_epq%3DC+preprocessor+%22%2Flib%2Fcpp%22+fails+sanity+check%26safe%3Doff%26lr%3D%26num%3D50%26hl%3Den%26&_doneTitle=Back+to+Search&&d#1bac48361bf93b7f
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list