A common error while configuring (running ./configure) software in Linux systems is - error: C++ compiler cannot create executables .一个共同的错误,而配置(运行。 / configure )软件在Linux系统是-错误: C + +编译器不能创建可执行文件。 The solution, not surprisingly is simple:该解决方案,而不是令人惊讶的是简单的:

Install the package which adds C++ support to the GNU Compiler Collection - gcc-c++ .安装套件,其中新增的C + +支持GNU编译器集合-海湾合作委员会- C + +中。 On Fedora / Red Hat that translates to:对浅顶软呢帽/红帽翻译到:
yum install gcc-c++ 百胜安装gcc - C + +中

Note: I found this error while trying to configure DansGuardian, a software content filter for Linux.注:我发现这个错误,而试图配置dansguardian ,软件内容过滤器的Linux版本。