![](https://iknow-base.cdn.bcebos.com/lxb/notice.png)
求高手解答:在UBUNTU下安装MPICH2时候出现的情况。./configure问题:checking for gcc... gcc checking
checkingforgcc...gcccheckingwhetherweareusingtheGNUC++compiler...nocheckingwhethergcc...
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/administration/xiazai/MPICH/mpich-3.0.4':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
请问这个问题怎么解决 好像是GCC有问题 ??谢谢! 展开
checking whether we are using the GNU C++ compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/administration/xiazai/MPICH/mpich-3.0.4':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
请问这个问题怎么解决 好像是GCC有问题 ??谢谢! 展开
1个回答
展开全部
安装编译环境试试看
sudo apt-get install build-essential
sudo apt-get install build-essential
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询