title: How to install valgrind properly?
body: <p>I'm installing valgrind now, until the ‘make install’ command it goes good.
  The next command- ‘make regtest’ outputs the next error:</p>
  
  <pre><code>../../depcomp: line 689: exec: g++: not found
  make[5]: *** [leak_cpp_interior.o] Error 127
  make[5]: Leaving directory `/home/kbubuntu/valgrind-3.9.0/memcheck/tests'
  make[4]: *** [check-am] Error 2
  make[4]: Leaving directory `/home/kbubuntu/valgrind-3.9.0/memcheck/tests'
  make[3]: *** [check-recursive] Error 1
  make[3]: Leaving directory `/home/kbubuntu/valgrind-3.9.0/memcheck/tests'
  make[2]: *** [check-recursive] Error 1
  make[2]: Leaving directory `/home/kbubuntu/valgrind-3.9.0/memcheck'
  make[1]: *** [check-recursive] Error 1
  make[1]: Leaving directory `/home/kbubuntu/valgrind-3.9.0'
  make: *** [check] Error 2
  </code></pre>
  
  <p>How can I solve it?</p>
  
  <p>Thanks.</p>