Tuesday, November 20, 2007

Funny thing: "fails sanity check"

Ok that is a very funny error and I have never got it, until today. But why should I get such an error trying to compile something if I do have GCC and any other prereq whatsoever? The point is, and do not ask me why, GCC package does not requires glibc-headers. So you may get that following funny, and for me cryptic message, even though I have had "/lib/cpp" (go figure!):

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

Anyway, just install the package and everything will go as you expect.

yum -y install glibc-headers

No comments: