checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details.
这是缺少相应的库导致的,所以可能在不同系统,安装不同软件的时候都可能出现。
既然缺少相应的库,那解决方法也就简单了,安装相应的库也可。
输命令#sudo apt-get install build-essential
再次运行./configure的时候成功通过
建议使用这种方法,因为它包含许多基本库,说不定让你已经安装其它软件时免除缺少各种库的烦恼。