MySQL Forums
Forum List  »  Source, Builds, Binaries

C++ Problems (no g++, CXX=gcc yields '"/lib/cpp" fails sanity check')
Posted by: Weston C
Date: April 09, 2008 11:57PM

So, whistling along through a default build, the process hit a decided speedbump when make found g++ missing.

No problem, I thought, I'll just set CXX="gcc" in the environment and reconfigure and be on my way. But configure chokes with this and gives the following error:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

As instructed, I did check 'config.log', but I'm afraid I don't see anything that means much to me -- the last bit of the file looks like part of a c header file containing macros, and then a line that says "configure: exit 1." I can see how cpp might be related, but not a specific error.

Any ideas here? What requirements might there be for cpp and what are the sanity tests?

Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
C++ Problems (no g++, CXX=gcc yields '"/lib/cpp" fails sanity check')
4904
April 09, 2008 11:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.