安装又出问题了。。configuration时候出现checking whether the C compiler works... no
C compiler cannot create executables
排查:
1.g++,apt-get install g++,已安装;
2.看config.log文件,没看懂;
发现问题:
不是gcc的错误
应该是修改环境变量之后出现的错误。
解决:
修改环境变量后使用source /etc/profile更新一下,还不行就重启电脑。