浏览 1.2k
添加模块ngx_http_proxy_connect_module报错,具体信息如下,github上没找到解决方案
按点赞数排序
按时间排序
这个模块修改了主模块的代码。你需要先打一下patch.
https://github.com/chobits/ngx_http_proxy_connect_module/tree/master/patch
0
回答于2021-01-25 13:17
nginx1.19.6 版本,我的配置为./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module --with-threads --add-module=/data/ngx_http_proxy_connect_module,编译时报错
0
回答于2021-01-25 10:06
src/os/unix/ngx_files.c:404:9: error: 'pwritev' is only available on macOS 11.0 or newer [-Werror,-Wunguarded-availability-new]
n = pwritev(file->fd, vec->iovs, vec->count, offset);
^~~~~~~
error: 'pwritev' is only available on macOS 11.0 or newer [
是不是你的macos版本太低了?