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版本。