Skip to content

Instantly share code, notes, and snippets.

@erikbuild
Created December 22, 2011 20:50
Show Gist options
  • Select an option

  • Save erikbuild/1511803 to your computer and use it in GitHub Desktop.

Select an option

Save erikbuild/1511803 to your computer and use it in GitHub Desktop.
Nginx / Passegener tries to grab the wrong URL for PCRE.
To fix:
cd /home/gitlabhq
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.13.tar.gz && tar xvf pcre-8.13.tar.gz
wget http://nginx.org/download/nginx-1.0.11.tar.gz && tar xvf nginx-1.0.11.tar.gz
Re-run "sudo passenger-install-nginx-module" and choose option 2.
Put in the path to the nginx source ( /home/gitlabhq/nginx-1.0.11 )
Add in the following extra option: --with-pcre=/home/kim/pcre-8.13
Passenger will build correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment