We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing on a clean ubuntu 16.04 at digital ocean.
Used this guide to create some Swap space then ran the code below per this post
cd /opt && git clone https://github.com/serveradminsh/installers && cd installers/nginx && chmod +x installer.sh && ./installer.sh
/usr/local/src/github/ngx_pagespeed-1.12.34.2-beta/src/ngx_pagespeed.cc /usr/local/src/github/ngx_pagespeed-1.12.34.2-beta/src/ngx_pagespeed.cc: In function ‘ngx_int_t net_instaweb::{anonymous}::ps_preaccess_handler(ngx_http_request_t*)’: /usr/local/src/github/ngx_pagespeed-1.12.34.2-beta/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:2364: recipe for target 'objs/addon/src/ngx_pagespeed.o' failed make[1]: *** [objs/addon/src/ngx_pagespeed.o] Error 1 make[1]: Leaving directory '/usr/local/src/github/nginx' Makefile:8: recipe for target 'build' failed make: *** [build] Error 2
Was wondering if it was because I didnt create enough Swap space (1G) or if the something is wrong with the ngx_pagespeed code.
The text was updated successfully, but these errors were encountered:
This is an issue with NGINX 1.13.4 and PageSpeed 1.12.34.2.
Please see my pull request: #5
This resolves the problem by building NGINX 1.13.3 instead.
Sorry, something went wrong.
The fix that @bbbenji mention works, but there is a working candidate fix on ngx-pagespeed's repo
pagespeed#1453
No branches or pull requests
Installing on a clean ubuntu 16.04 at digital ocean.
Used this guide to create some Swap space then ran the code below per this post
cd /opt
&& git clone https://github.com/serveradminsh/installers
&& cd installers/nginx
&& chmod +x installer.sh
&& ./installer.sh
/usr/local/src/github/ngx_pagespeed-1.12.34.2-beta/src/ngx_pagespeed.cc
/usr/local/src/github/ngx_pagespeed-1.12.34.2-beta/src/ngx_pagespeed.cc: In function ‘ngx_int_t net_instaweb::{anonymous}::ps_preaccess_handler(ngx_http_request_t*)’:
/usr/local/src/github/ngx_pagespeed-1.12.34.2-beta/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:2364: recipe for target 'objs/addon/src/ngx_pagespeed.o' failed
make[1]: *** [objs/addon/src/ngx_pagespeed.o] Error 1
make[1]: Leaving directory '/usr/local/src/github/nginx'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
Was wondering if it was because I didnt create enough Swap space (1G) or if the something is wrong with the ngx_pagespeed code.
The text was updated successfully, but these errors were encountered: