CentOS / RHEL: configure: error: C++ compiler g++ does not work or no compiler found

Probably means you’re missing the g++ compiled at all, which isn’t install with a groupinstall of the development tools.

configure: error: C++ compiler g++ does not work or no compiler found

Solution:

$  yum install gcc gcc-c++

And that’s it.