Open nitinet opened 7 years ago
Pull-request is welcome, we were not testing for linuxbrew under gcc. Healthcheck module is no longer maintained. recommend using nginx_upstream_check_module instead.
I get the same errors when I building nginx-full with rtmp module on macOS `Jerry:~ wxh$ brew install nginx-full --with-rtmp-module ==> Installing nginx-full from homebrew/nginx ==> Downloading https://nginx.org/download/nginx-1.12.0.tar.gz Already downloaded: /Users/wxh/Library/Caches/Homebrew/nginx-full-1.12.0.tar.gz ==> ./configure --prefix=/usr/local/Cellar/nginx-full/1.12.0 --with-http_ssl_module --with-pcre --with-ipv6 --sbi ==> make install Last 15 lines from /Users/wxh/Library/Logs/Homebrew/nginx-full/02.make:
^~
/usr/local/share/rtmp-nginx-module/ngx_rtmp_core_module.c:568:30: error: passing 'ngx_sockaddr_t' to parameter of incompatible type 'const void *'
ngx_memcpy(ls->sockaddr, u.sockaddr, u.socklen);
^~~~~~
src/core/ngx_string.h:102:54: note: expanded from macro 'ngx_memcpy'
^~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/secure/_string.h:65:33: note: expanded from macro 'memcpy' builtin___memcpy_chk (dest, src, len, darwin_obsz0 (dest)) ^~~ 2 errors generated. make[1]: [objs/addon/rtmp-nginx-module/ngx_rtmp_core_module.o] Error 1 make[1]: Waiting for unfinished jobs.... make: *** [install] Error 2`
@NumberFive sergey-dryabzhinsky/nginx-rtmp-module#234
Pull-request is welcome, we were not testing for linuxbrew under gcc. Healthcheck module is no longer maintained. recommend using nginx_upstream_check_module instead.
hey denji, as you mentioned, could we add nginx_upstream_check_module as one of the supported additional modules for the project? at the same time, we should remove the invalid link.
Indicate troubleshooting steps taken
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?Bug reports / build errors:
Brief summary of issue:
i am tying to build nginx-full formula with health check and it is not able to build.
The complete command that you issued:
brew install homebrew/nginx/nginx-full --with-healthcheck-module
Gist with output of
brew doctor
:Your system is ready to brew.
Link output by
brew gist-logs <formula>
:https://gist.github.com/8d79f03a6fb8c436c98e3e4b28740d60
Output of
brew config
:Formula Requests:
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.