Fixing - configure: error: C++ compiler cannot create executables

By Angsuman Chakraborty, Gaea News Network
Saturday, April 5, 2008

A common error while configuring (running ./configure) software in Linux systems is - error: C++ compiler cannot create executables. The solution, not surprisingly is simple:

Install the package which adds C++ support to the GNU Compiler Collection - gcc-c++. On Fedora / Red Hat that translates to:
yum install gcc-c++

Note: I found this error while trying to configure DansGuardian, a software content filter for Linux.

Discussion

thuytien
October 17, 2008: 1:50 am

On ubuntu, you type:
sudo apt-get install gcc-c++
If it doesn’t work, you type:
sudo apt-get install g++

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :