nginx-stream-upsync-module
nginx-stream-upsync-module copied to clipboard
nginx-stream-upsync-module 编译爆ngx_stream.h:没有那个文件或目录
编译的命令是:./configure --prefix=/usr/local/nginx --with-pcre=../pcre-8.42 --add-module=../nginx_upstream_check_module/ --add-module=../nginx-upsync-module/ --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --add-module=../nginx-stream-upsync-module
报错如下:
les -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src
-o objs/addon/src/ngx_http_json.o
../nginx-upsync-module//src/ngx_http_json.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../nginx_upstream_check_module/ -I ../pcre-8.42 -I objs -I src/http -I src/http/modules -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src
-o objs/addon/src/ngx_http_parser.o
../nginx-upsync-module//src/ngx_http_parser.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../nginx_upstream_check_module/ -I ../pcre-8.42 -I objs -I src/http -I src/http/modules -I ../nginx-upsync-module//src -I ../nginx-stream-upsync-module/src
-o objs/addon/src/ngx_stream_upsync_module.o
../nginx-stream-upsync-module/src/ngx_stream_upsync_module.c
../nginx-stream-upsync-module/src/ngx_stream_upsync_module.c:8:24: 致命错误:ngx_stream.h:没有那个文件或目录
这个报错是因为什么呢?