Problems with building nginx 1.9.11 ( with pagespeed )

Server debian jessie, and I’m using the same build script ( which does
include 3rd party stuff ) a 1.9.10 which built flawlessly…

To get it to build at all, I had to add the option ’ -Wno-write-strings’
to the CFLAGS in objs/Makefile, and the resultant executable resulted in
the current config showing up

[emerg] 27021#0: unknown directive “gzip” in /etc/nginx/nginx.conf

reverting to 1.9.10 runs fine.

config is as follows:

./configure --prefix=/etc/nginx
–sbin-path=/usr/sbin/nginx
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log
–pid-path=/var/run/nginx.pid
–lock-path=/var/run/nginx.lock
–http-client-body-temp-path=/var/cache/nginx/client_temp
–http-proxy-temp-path=/var/cache/nginx/proxy_temp
–http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
–http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
–http-scgi-temp-path=/var/cache/nginx/scgi_temp
–user=nginx
–group=nginx
–with-ipv6
–with-http_ssl_module
–with-http_v2_module
–with-http_realip_module
–with-http_addition_module
–with-http_sub_module
–with-http_gunzip_module
–with-http_gzip_static_module
–with-http_random_index_module
–with-http_secure_link_module
–with-http_stub_status_module
–with-http_geoip_module
–with-mail
–with-mail_ssl_module
–with-file-aio
–with-openssl=/usr/local/src/openssl-1.0.2f
–add-module=…/echo-nginx-module
–add-module=…/ngx_pagespeed-release-1.10.33.4-beta
'–with-cc-opt=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ’


Steve H. BSc(Hons) MIITP

Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

Sorry!

On 02/12/2016 12:04 PM, steve wrote:

Server debian jessie, and I’m using the same build script ( which does
include 3rd party stuff ) a 1.9.10 which built flawlessly…

To get it to build at all, I had to add the option ’
-Wno-write-strings’ to the CFLAGS in objs/Makefile, and the resultant
executable resulted in the current config showing up

[emerg] 27021#0: unknown directive “gzip” in /etc/nginx/nginx.conf

Just read the rest of the list.


Steve H. BSc(Hons) MIITP

Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa