Opened 7 years ago

Closed 7 years ago

#1296 closed defect (invalid)

build_module.sh fails for nginx version 1.10.2

Reported by: davidbitton@… Owned by:
Priority: blocker Milestone:
Component: nginx-package Version: 1.10.x
Keywords: Cc:
uname -a: Linux ip-10-0-1-174 4.9.27-14.31.amzn1.x86_64 #1 SMP Wed May 10 01:58:40 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: --prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/tmp/client_body --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx --user=nginx --group=nginx --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-http_perl_module=dynamic --with-mail=dynamic --with-mail_ssl_module --with-pcre --with-pcre-jit --with-stream=dynamic --with-stream_ssl_module --with-google_perftools_module --with-debug --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --with-ld-opt=' -Wl,-E'

Description

The Makefile for 1.10.2 is different than the one for 1.13. Therefore the script breaks because prepare-build-env is not a make target in 1.10.2. I am using 1.10.2 because it is the latest version provided by Amazon for their Linux AMI. Thanks.

Change History (3)

comment:1 by Andrei Belov, 7 years ago

Component: othernginx-package

comment:2 by Andrei Belov, 7 years ago

The prepare-build-env is available starting from 1.11.11-1 package sources.

Also, minimal nginx version that supports --with-compat configure option (strong requirement for the build_module.sh) is 1.11.5.

1.10.2 is almost one year old, and can not be used with that tool.

comment:3 by Andrei Belov, 7 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.