homebrew-brew icon indicating copy to clipboard operation
homebrew-brew copied to clipboard

Try install with rds-json module

Open teochenglim opened this issue 5 years ago • 0 comments

Indicate troubleshooting steps taken

  • [ ] Ran brew update and retried your prior step?
  • [ ] Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • [ ] Checked that a similar issue hasn't already been filed?
  • [ ] Looked up the software bug tracker if reporting a build error?
  • [ ] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports / build errors:

Bug and feature request

Brief summary of issue:

Try to turn on openresty rds_json feature and hit ./configure --with-http_rds_json_module invalid module error

The complete command that you issued:

$ brew edit openresty/brew/openresty Editing /usr/local/Homebrew/Library/Taps/openresty/homebrew-brew/Formula/openresty.rb modify line 38 from: --without-http_rds_json_module to: --with-http_rds_json_module $ brew reinstall openresty/brew/openresty --with-postgresql --with-iconv --with-slice --display-times ==> Reinstalling openresty/brew/openresty --with-postgresql --with-iconv --with-slice ==> Downloading https://openresty.org/download/openresty-1.15.8.1.tar.gz Already downloaded: /Users/teochenglim/Library/Caches/Homebrew/downloads/45bc87c59251cae59a8c5ca0491d1c731722f861d11f4bb9e29f6a59959aa030--openresty-1.15.8.1.tar.gz ==> ./configure --prefix=/usr/local/Cellar/openresty/1.15.8.1 --pid-path=/usr/local/var/run/openresty.pid --lock-path=/usr/local/var/run/openresty.lock --conf Last 15 lines from /Users/teochenglim/Library/Logs/Homebrew/openresty/01.configure: --add-module=../ngx_postgres-1.0
--add-module=../srcache-nginx-module-0.31
--add-module=../ngx_lua-0.10.15
--add-module=../ngx_lua_upstream-0.07
--add-module=../headers-more-nginx-module-0.33
--add-module=../array-var-nginx-module-0.05
--add-module=../memc-nginx-module-0.19
--add-module=../redis2-nginx-module-0.15
--add-module=../redis-nginx-module-0.3.7
--add-module=../rds-json-nginx-module-0.15
--add-module=../ngx_stream_lua-0.0.7
--with-ld-opt='-Wl,-rpath,/usr/local/Cellar/openresty/1.15.8.1/luajit/lib -L/usr/local/lib -L/usr/local/opt/pcre/lib -L/usr/local/opt/openresty-openssl/lib'
--pid-path=/usr/local/var/run/openresty.pid --lock-path=/usr/local/var/run/openresty.lock --conf-path=/usr/local/etc/openresty/nginx.conf --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-pcre-jit --with-http_rds_json_module --with-ipv6 --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-http_v2_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-http_stub_status_module --with-http_realip_module --with-http_addition_module --with-http_auth_request_module --with-http_secure_link_module --with-http_random_index_module --with-http_geoip_module --with-http_gzip_static_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-threads --with-dtrace-probes --with-http_slice_module --with-stream --with-stream_ssl_preread_module --with-http_ssl_module ./configure: error: invalid option "--with-http_rds_json_module" ERROR: failed to run command: sh ./configure --prefix=/usr/local/Cellar/openresty/1.15.8.1/nginx ...

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/openresty/homebrew-brew/issues

These open issues may also help: Fails to install OpenResty https://github.com/openresty/homebrew-brew/issues/5 The openresty-debug package should use openresty-openssl-debug instead https://github.com/openresty/homebrew-brew/issues/3

Gist with output of brew doctor:

$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed header files were found in /usr/local/include. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.

Unexpected header files: /usr/local/include/python3.7m/greenlet/greenlet.h

Link output by brew gist-logs <formula>:

$ brew gist-logs openresty https://gist.github.com/3763fc9d1ccaaadecb5022b6b2d1ef30

Output of brew config:

$ brew config HOMEBREW_VERSION: 2.1.4-73-g1bee0fb ORIGIN: https://github.com/Homebrew/brew HEAD: 1bee0fbde0bdc3da0450901483ba128249eb8df9 Last commit: 15 hours ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: b0ff54bed66c1f5f08105fdc202c7485fc25d9d7 Core tap last commit: 10 hours ago HOMEBREW_PREFIX: /usr/local HOMEBREW_DEV_CMD_RUN: 1 CPU: quad-core 64-bit kabylake Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby Clang: 10.0 build 1001 Git: 2.20.1 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 7.54.0 => /usr/bin/curl Java: 12.0.1 macOS: 10.14.5-x86_64 CLT: 10.2.1.0.1.1554506761 Xcode: N/A CLT headers: 10.2.1.0.1.1554506761

Formula Requests:

--with-rds-json

The quickest way to get a new formula into Homebrew is to file a Pull Request.

We will consider your request but it may be closed if it's something we're not actively planning to work on.

teochenglim avatar Jun 11 '19 02:06 teochenglim