If you having trouble compiling any application manually using “configure” , here simple fix for this error.
Error ::
checking whether we are using the GNU C++ compiler... nochecking whether g++ accepts -g... nochecking how to run the C++ preprocessor... /lib/cppconfigure: error: C++ preprocessor "/lib/cpp" fails sanity checkSee `config.log' for more details.
Solution::
- Centos/Fedora/RHEL
yum install gcc gcc-cpp gcc-c++
- Ubuntu/Debain
apt-get install gcc gcc-cpp gcc-c++
本文提供了解决手动编译应用程序时遇到的配置错误的方法。针对CentOS/Fedora/RHEL及Ubuntu/Debian系统,介绍了如何安装必要的GCC组件来修复配置过程中出现的问题。
4万+

被折叠的 条评论
为什么被折叠?



