title: xcrun: error: developer tools not installed error during valgrind installation
body: <p>I'm trying to install valgrind on my Mac (10.6.8). I've downloaded the latest valgrind version, valgrind-3.8.1, unzip it and ./configure works fine. When I tried make, got this error message:</p>
  
  <pre><code>xcrun: error: developer tools not installed; download from http://developer.apple.com
  /usr/bin/mig: line 174: : command not found
  mig: fatal: "&lt;no name yet&gt;", line -1: no SubSystem declaration
  make[2]: *** [m_mach/mach_vmUser.c] Error 1
  make[1]: *** [all-recursive] Error 1
  make: *** [all] Error 2
  </code></pre>
  
  <p>I tried xcode-select (from this link: <a href="https://stackoverflow.com/questions/11375207/how-can-i-fix-this-valgrind-os-x-10-7-4-make-error">How can I fix this valgrind OS X 10.7.4 make error?</a>) and got this message:</p>
  
  <pre><code>-bash: xcode-select: command not found
  </code></pre>
  
  <p>I guess I don't have xcode or xcode developer tools, I found both Xcode 3.2 and Xcode 3.2.1 Developer Tools in the apple developer site. I'm wondering which one should I install?</p>
  
  <p>My feeling is this installation will solve the issue. </p>
  
  <p>Thanks. </p>