I was installing Browsertime on CentOS 7 and encountered this error. Well, this could happen with any package which uses g++ library. To fix this error, all you got to do is install development tools with yum as below command. Try to install what you were installing. It worked for me, and I hope for you too.

make  g    Command not found on CentOS RHEL 7  FIXED - 51make  g    Command not found on CentOS RHEL 7  FIXED - 2make  g    Command not found on CentOS RHEL 7  FIXED - 65make  g    Command not found on CentOS RHEL 7  FIXED - 47make  g    Command not found on CentOS RHEL 7  FIXED - 37make  g    Command not found on CentOS RHEL 7  FIXED - 9