configure: error: Unable to find a working C++ compiler

如果有这样的错误信息:

“configure: error: C++ compiler cannot create executables"

or

configure: error: Unable to find a working C++ compiler

说明没装gcc或者装了gcc,没装g++

我这ubuntu10.10就是没有g++,

最后是apt-get install g++,修复了congfiure不通的错误。

You need to install c++ on your computer. even if you installed gcc that doesn’t automatically install g++. Try to run one of the following commands that fit your Linux distribution best :)

1
2
3
yum install gcc-c++<br>
or<br>
apt-get install gcc-c++<br>

if apt-get doesn’t like the command try

 

 

 

apt-get install g++

你可能感兴趣的:(configure: error: Unable to find a working C++ compiler)