Results 1 to 2 of 2
When I try to configure make or build anything, I get this message:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See ...
- 09-08-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 18
./configure issue
When I try to configure make or build anything, I get this message:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
and the config.log is a mess and I can't really read it, so i'm going to try to put in what LOOKS important to the error:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:4114: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "atk"
| #define PACKAGE_TARNAME "atk"
| #define PACKAGE_VERSION "1.9.1"
| #define PACKAGE_STRING "atk 1.9.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=atk"
| #define PACKAGE "atk"
| #define VERSION "1.9.1"
| #define GETTEXT_PACKAGE "atk10"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4108: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from conftest.c:13:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:4114: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "atk"
| #define PACKAGE_TARNAME "atk"
| #define PACKAGE_VERSION "1.9.1"
| #define PACKAGE_STRING "atk 1.9.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=atk"
| #define PACKAGE "atk"
| #define VERSION "1.9.1"
| #define GETTEXT_PACKAGE "atk10"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4108: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:295,
from /usr/include/assert.h:36,
from conftest.c:15:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:4114: $? = 1
configure: failed program was:
| /* confdefs.h. */
considering it keeps repeating that many more times I'll stop copying there... Does anyone have any idea what went wrong? To test this I ran the "make" and "make install" commands to things I already built and it didn't work...
Help?
- 09-09-2006 #2
Have you tried installing the headers for your kernel?
What I do if I have such a problem as you have, is search at http://www.debian.org/distrib/packages#search_contents for the files it says it is missing, and than install the packages that have them.
But I'm no expert.
Good luck!


Reply With Quote
