How to Install PCRE Development Headers on Mac OSX
Asked Answered
D

2

17

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 localhost I see It works! and remembered I needed to start Phusion Passenger, so when I run passenger start it checks all the prerequisites and fails when it gets to the PCRE Development Headers:

 * Checking for PCRE development headers...
    Found: no

It tells me to go to http://www.pcre.org/ to download them so I downloaded 8.33 from here which went to my Downloads folder, so I unzipped it, cd'd to the folder and ran:

./configure
make
make install

Then cd'd back to my rails app directory on my Desktop and re-ran passenger start but it's still the same. Tried a new Terminal window but that didn't make any difference.

I must have done this before to get my dev environment working but can't seem to solve it this time.

I also tried brew install pcre but it says Warning: pcre-8.33 already installed.

Decisive answered 23/10, 2013 at 11:59 Comment(2)
brew install pcre : worked for meClipped
brew install pcre - worked for me tooBouley
H
14

Reinstall the OS X Developer Tools. It was broken by the Mavericks upgrade.

Hedvig answered 23/10, 2013 at 13:50 Comment(0)
Z
20

Reinstalling OS X Developer Tools did not work for me so I recommend

brew install pcre

Also you can do

brew install passenger

Which will install all needed requirements if additional missing.

Zelmazelten answered 7/1, 2015 at 12:53 Comment(0)
H
14

Reinstall the OS X Developer Tools. It was broken by the Mavericks upgrade.

Hedvig answered 23/10, 2013 at 13:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.