Summary: | Apps fail to compile, getting sanity check failures. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve <spatz> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | VERIFIED NEEDINFO | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Diffutils config.log |
Description
Steve
2004-12-23 20:38:57 UTC
you have to post the actual error message also, you should post a config.log from the build directory chances are you need to just re-run `gcc-config` configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for style of include used by make... GNU checking for i686-pc-linux-gnu-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 ANSI C... none needed 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: sys-apps/diffutils-2.8.7 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Also, it's just not diffutils, I get the same error while compiling alsa-libs as well. Created attachment 47048 [details]
Diffutils config.log
I ran gcc-config -O and I still can not compile anything. /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory looks like the system lost the linux headers at some point re-emerge virtual/os-headers |