Dukemaster
Regular Pleskian
Hi @UFHH01 Oh, I can't believe it. It ran over 2 or 3 minutes by "make". All seemed perfectly, but in the very end an error appeared.
Code:
-o objs/addon/src/ngx_message_handler.o \
/usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/src/ngx_message_handler.cc
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -D_GLIBCXX_USE_CXX11_ABI=0 --std=c++11 -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/src/openssl-1.0.2l/.openssl/include -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I src/http/v2 -I src/http/modules/perl -I /usr/share/passenger/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/chromium/src -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/google-sparsehash/src/src -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/grpc/src/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/protobuf/src/src -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/re2/src -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/out/Release/obj/gen -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/out/Release/obj/gen/protoc_out/instaweb -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/apr/src/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/aprutil/src/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/apr/gen/arch/linux/x64/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I /usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/psol/include/url -I src/mail -I src/stream \
-o objs/addon/src/ngx_pagespeed.o \
/usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/src/ngx_pagespeed.cc
/usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/src/ngx_pagespeed.cc: In function ‘ngx_int_t net_instaweb::{anonymous}::ps_preaccess_handler(ngx_http_request_t*)’:
/usr/share/nginx/modules/ngx_pagespeed-1.12.34.2-stable/src/ngx_pagespeed.cc:3011:31: error: ‘ngx_http_core_try_files_phase’ was not declared in this scope
while (ph[i + 1].checker != ngx_http_core_try_files_phase &&
^
objs/Makefile:1967: recipe for target 'objs/addon/src/ngx_pagespeed.o' failed
make[1]: *** [objs/addon/src/ngx_pagespeed.o] Error 1
make[1]: Leaving directory '/root/addons/nginx/nginx-1.13.4'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
root@server:~/addons/nginx/nginx-1.13.4# ^C
root@server:~/addons/nginx/nginx-1.13.4#