Skip to content

Instantly share code, notes, and snippets.

@kylefox
Created December 15, 2011 18:44
Show Gist options
  • Save kylefox/1482281 to your computer and use it in GitHub Desktop.
Save kylefox/1482281 to your computer and use it in GitHub Desktop.
Passenger uses wrong URL to download PCRE.
PCRE (required by Nginx) not installed, downloading it...
# wget -O /tmp/ubuntu-passenger-7717/pcre.tar.gz ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz
--2011-12-15 18:38:20-- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.gz
=> `/tmp/ubuntu-passenger-7717/pcre.tar.gz'
Resolving ftp.csx.cam.ac.uk... 131.111.8.80
Connecting to ftp.csx.cam.ac.uk|131.111.8.80|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/software/programming/pcre ... done.
==> SIZE pcre-8.12.tar.gz ... done.
==> PASV ... done. ==> RETR pcre-8.12.tar.gz ...
No such file `pcre-8.12.tar.gz'.
--------------------------------------------
PCRE could not be downloaded
Nginx requires PCRE for its rewrite module, so this installer will attempt to
install Nginx without the rewrite module.
If you want to make use of Nginx's rewrite module, please install PCRE manually
by downloading it from:
http://www.pcre.org/
@kylefox
Copy link
Author

kylefox commented Dec 31, 2011

Yes, the solution is to manually install PCRE:

sudo aptitude install libpcre3 libpcre3-dev

There's a related discussion on the Passenger mailing list: PCRE version no longer on ftp site: breaks installer

@ovcharenkovv
Copy link

Thank you very much, it helped me

@vranystepan
Copy link

Thanks, worked for me.

@jeffreynolte
Copy link

Thank you!

@inohiro
Copy link

inohiro commented May 21, 2012

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment