Closed viaregio closed 2 years ago
As stated in https://github.com/kaltura/nginx-vod-module/issues/1363 nginx 1.23.0 needs at least version 1.30 of nginx-vod-module.
This is the output I got today with nginx 1.23.1 and the provided version of nginx-vod-module:
Last 15 lines from /Users/uli/Library/Logs/Homebrew/nginx-full/02.make:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/opt/homebrew/share/vod-nginx-module/ngx_http_vod_utils.c:485:47: error: member reference type 'ngx_table_elt_t *' (aka 'struct ngx_table_elt_s *') is a pointer; did you mean to use '->'?
for (i = 1; i < r->headers_out.cache_control.nelts; i++) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
->
/opt/homebrew/share/vod-nginx-module/ngx_http_vod_utils.c:485:48: error: no member named 'nelts' in 'struct ngx_table_elt_s'
for (i = 1; i < r->headers_out.cache_control.nelts; i++) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
4 errors generated.
clang -c -pipe -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -Werror -g -I/opt/homebrew/include -I/opt/homebrew/opt/pcre/include -I/opt/homebrew/opt/openssl@1.1/include -D_LARGEFILE_SOURCE -DBUILDING_NGINX -I/opt/homebrew/share/rtmp-nginx-module -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I /opt/homebrew/share/rtmp-nginx-module -I /usr/include/libxml2 -I src/stream \
-o objs/addon/vod/buffer_pool.o \
/opt/homebrew/share/vod-nginx-module/vod/buffer_pool.c
make[1]: *** [objs/addon/vod-nginx-module/ngx_http_vod_utils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
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:
nginx 1.23.1 is incompatible with the provided version of nginx-vod-module
The complete command that you issued:
brew upgrade
Gist with output of
brew doctor
:Link output by
brew gist-logs <formula>
: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.