title: How to Install PCRE Development Headers on Mac OSX
body: <p>I just upgraded my MacBook Pro to Mavericks and my local Ruby on Rails development environment isn't running straight off the bat, when I visit <code>localhost</code> I see <code>It works!</code> and remembered I needed to start Phusion Passenger, so when I run <code>passenger start</code> it checks all the prerequisites and fails when it gets to the PCRE Development Headers:</p>
  
  <pre><code> * Checking for PCRE development headers...
      Found: no
  </code></pre>
  
  <p>It tells me to go to <a href="http://www.pcre.org/" rel="noreferrer">http://www.pcre.org/</a> to download them so I downloaded 8.33 from <a href="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/" rel="noreferrer">here</a> which went to my <code>Downloads</code> folder, so I unzipped it, <code>cd</code>'d to the folder and ran:</p>
  
  <pre><code>./configure
  make
  make install
  </code></pre>
  
  <p>Then <code>cd</code>'d back to my rails app directory on my Desktop and re-ran <code>passenger start</code> but it's still the same. Tried a new Terminal window but that didn't make any difference.</p>
  
  <p>I must have done this before to get my dev environment working but can't seem to solve it this time.</p>
  
  <p>I also tried <code>brew install pcre</code> but it says <code>Warning: pcre-8.33 already installed</code>.</p>