title: xcode-select: command not found despite
body: <p>I am trying to get Xcode and the command line developer tools working in order to use MacPorts.
  I have installed Xcode and Xcode command line developer tools. </p>
  
  <p>But when I try to use xcode-select I get:</p>
  
  <pre><code>xcode-select
  -bash: xcode-select: command not found
  </code></pre>
  
  <p>And MacPort thinks that XCode is not installed:</p>
  
  <pre><code>sudo port install texlive
  Warning: Xcode does not appear to be installed; most ports will likely fail to build.
  </code></pre>
  
  <p>My <code>$PATH</code>looks like normal:</p>
  
  <pre><code>echo $PATH
  /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  </code></pre>
  
  <p>I can't find the xcode-select utility anywhere:</p>
  
  <pre><code>sudo find / -iname xcode-select 
  </code></pre>
  
  <p>I have tried deleting and reinstalling XCode and the command line tools from scratch, with multiple reboots. No effect. My current system is OSX 10.9.5 and XCode 6.0.1.</p>
  
  <p>Can anybody help please?</p>
  
  <p>Thanks</p>