
Use the exim mirror for PCRE now that the official mirror only hosts PCRE2
Whilst trying to solve an nginx module build issue for the new Apple ARM silicon I noticed that the Perl-compatible Regular Expression library (PCRE) mirror was no longer working. My build-nginx script was timing out trying to connect to http://ftp.pcre.org/pub/pcre
The PCRE readme.txt has a naggy section about how old PCRE1 is and that it’s no longer maintained and that you should use an unofficial sourceforge (yuck) mirror, but really, you should definitely start using the PCRE2 library. That’s all well and good, unless you’re trying to use a project that has PCRE1 as a dependency.
Instead of using an unofficial sourceforge mirror, I’d urge you to use the exim mirror of pcre instead. It’s got the last PCRE1 8.45 release. Exim is also written by Philip Hazel, the author of PCRE, so it’s about as official as you could get.
All links, in order of mention:
- an nginx module build issue for the new Apple ARM silicon: https://github.com/wandenberg/nginx-push-stream-module/issues/293#issuecomment-972741058
- Perl-compatible Regular Expression library (PCRE) mirror was no longer working: https://github.com/jaygooby/build-nginx/issues/6
- build-nginx: https://github.com/jaygooby/build-nginx
- http://ftp.pcre.org/pub/pcre
- PCRE readme.txt: https://www.pcre.org/readme.txt
- a project that has PCRE1 as a dependency: https://forum.nginx.org/read.php?2,292818,292818#msg-292818
- exim mirror of pcre: https://ftp.exim.org/pub/pcre/
- PCRE1 8.45 release: https://ftp.exim.org/pub/pcre/pcre-8.45.tar.gz
Recent posts:
- Patch for aarch64 (aka arm64) openssl 1.0.2 'relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P error'
- TIL: the `NO_COLOR` informal standard to suppress ANSI colour escape codes
- Copy the contents of a branch into an existing git branch without merging
- Adding search to a static Jekyll site using pagefind
- asdf, python and automatically enabling virtual envs