I currently am using slackware 12.1
Recently I tried compiling a program from scratch (xchat 2.8.6) and a few other programs that just would not complete. I looked through all the previous forums involving this problem and all of their solutions did not help me. I have installed all gcc/g++ packages, kernal headers, pkgconfig, etc. I still get this error:
Code:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
I then looked inside "config.log" and noticed this:
(counted things that i found)
Code:
1.
configure:6175: /lib/cpp conftest.cpp
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
2.
configure:6070: g++ -E conftest.cpp
In file included from conftest.cpp:20:
/usr/include/limits.h:125:26: no include path in which to search for limits.h
configure:6076: $? = 1
After that i then tried to find (find /lib/cpp) /lib/cpp. It showed, but, when i tried to cd into it it wouldn't let me. It said it didn't exist.
If anyone has any ideas, fixes, or information, it would be greatly appreciated.