Hi, I'm trying to compile 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 /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7, 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 */
Maybe this is NOT Geany's error, but I'm not coder, so I know nothing about C/C++.
Any help to fix that ?
Thanks
On Tue, 13 Nov 2007 00:07:55 +0100, Vnpenguin vnpenguin@vnoss.org wrote:
Hi,
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
it seems limits.h is missing on your system. I'm not familar with Fedora but on Debian this file is located in the package libc6-dev and in the gcc package. I don't know how the packages are called on Fedora systems.
Maybe a Fedora can give some better help ;-). Nick?
Regards, Enrico
On Tue, 13 Nov 2007 15:28:30 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 13 Nov 2007 00:07:55 +0100, Vnpenguin vnpenguin@vnoss.org wrote:
Hi,
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
it seems limits.h is missing on your system. I'm not familar with Fedora but on Debian this file is located in the package libc6-dev and in the gcc package. I don't know how the packages are called on Fedora systems.
Maybe a Fedora can give some better help ;-). Nick?
Regards, Enrico
I'm using Fedora 8 too but i cannot reproduce this problem. My limits.h does exist. The package which provides limits.h is gcc-4.1.2-33 on my system. So my suggestion is to make sure this package is installed and maybe reinstall it if needed.
Regards, Dominic
On 11/13/07, Dominic Hopf dmaphy_damastasif@gmx.net wrote:
I'm using Fedora 8 too but i cannot reproduce this problem. My limits.h does exist. The package which provides limits.h is gcc-4.1.2-33 on my system. So my suggestion is to make sure this package is installed and maybe reinstall it if needed.
Regards, Dominic
By installing the package glibc-headers I can compile geany without problem now :)
Thanks