Closed marc-medley closed 1 year ago
Commands
brew update brew upgrade brew doctor # Your system is ready to brew. brew install nginx-full --with-subs-filter-module
Error
==> Downloading https://nginx.org/download/nginx-1.23.1.tar.gz Already downloaded: /Users/username/Library/Caches/Homebrew/downloads/949af1a0597127468320c6317900204660674b2ea3958941761b175a4ba25105--nginx-1.23.1.tar.gz ==> Installing nginx-full from denji/nginx ==> ./configure --prefix=/opt/homebrew/Cellar/nginx-full/1.23.1 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/opt/homebrew/Cellar/nginx-full/1.23.1/bin/n ==> make install Last 15 lines from /Users/username/Library/Logs/Homebrew/nginx-full/02.make: /opt/homebrew/include/pcre2.h:799:25: note: expanded from macro 'PCRE2_GLUE' #define PCRE2_GLUE(a,b) PCRE2_JOIN(a,b) ^ /opt/homebrew/include/pcre2.h:798:25: note: expanded from macro 'PCRE2_JOIN' #define PCRE2_JOIN(a,b) a ## b ^ <scratch space>:60:1: note: expanded from here pcre2_real_code_8 ^ /opt/homebrew/share/subs-filter-nginx-module/ngx_http_subs_filter_module.c:1207:40: error: use of undeclared identifier 'PCRE_INFO_CAPTURECOUNT' rc = pcre_fullinfo(re->code, NULL, PCRE_INFO_CAPTURECOUNT, &n); ^ 2 errors generated. make[1]: *** [objs/addon/subs-filter-nginx-module/ngx_http_subs_filter_module.o] Error 1 make: *** [install] Error 2
brew config
ORIGIN: https://github.com/Homebrew/brew HEAD: 747829334b4bb3ab0d67a4c8bd9f4bf78c491c49 Last commit: 4 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: c9768296bbe6bf76a162567d4649d7446435f93f Core tap last commit: 27 minutes ago Core tap branch: master HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_EDITOR: /usr/local/bin/cot HOMEBREW_MAKE_JOBS: 8 HOMEBREW_NO_ANALYTICS: set Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: octa-core 64-bit arm_firestorm_icestorm Clang: 14.0.0 build 1400 Git: 2.37.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git Curl: 7.84.0 => /usr/bin/curl macOS: 13.0.1-arm64 CLT: 14.1.0.0.1.1666437224 Xcode: 14.1 Rosetta 2: false
I have the same problem
Unstable release tagless version with PCRE2 support is fixed bd99c61
thx, it worked on me
Commands
Error
brew config