[F8] error: C preprocessor "/lib/cpp" fails sanity check

Vnpenguin vnpenguin at vnoss.org
Tue Nov 13 17:23:12 UTC 2007

I'm trying to build rpm Geany-0.12 under Fedora 8, but there is error :

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.99037 (%build)

In config.log I see:

configure:3718: /lib/cpp  conftest.c
In file included from
                from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
                from conftest.c:12:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error:
limits.h: No such file or directory

in /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h, at line 122 I see:

#include_next <limits.h>                /* recurse down to the real one */

I know nothing about C/C++. Any help to fix that ?



More information about the fedora-list mailing list