Maxim Dounin
April 17, 2018 02:02PM
Hello!

On Tue, Apr 17, 2018 at 01:56:25PM -0400, Asterics wrote:

> ./configure \
> --prefix=/usr/share/nginx \
> --sbin-path=/usr/sbin/nginx \
> --conf-path=/etc/nginx/nginx.conf \
> --pid-path=/var/run/nginx.pid \
> --lock-path=/var/lock/nginx.lock \
> --error-log-path=/var/log/nginx/error.log \
> --http-log-path=/var/log/access/access.log \
> --user=www-data \
> --group=www-data \
> --with-http_ssl_module \
> --with-http_gzip_static_module \
> --with-ngx_http_gzip_module \
> --with-ngx_http_access_module \
>
> исход
> ./configure: error: invalid option "--with-ngx_http_access_module"
> make: *** No targets specified and no makefile found. Stop.
> make: *** No rule to make target `install'. Stop.
>
> почему не правильная опция?
> например если оставить только с ней, то все ок будет. Проблема именно в
> --with-http_gzip_static_module \
> --with-ngx_http_gzip_module \
> --with-ngx_http_access_module \

Такой опции нет, модуль ngx_http_access_module собирается
по умолчанию и его сборку можно только выключить с помощью
опции --without-ngx_http_access_module.

$ ./configure --help | grep http_access
--without-http_access_module disable ngx_http_access_module

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

ошибка при сборке Nginx в ручную

Asterics April 17, 2018 01:56PM

Re: ошибка при сборке Nginx в ручную

Asterics April 17, 2018 02:00PM

Re: ошибка при сборке Nginx в ручную

Maxim Dounin April 17, 2018 02:02PM

Re: ошибка при сборке Nginx в ручную

Asterics April 17, 2018 03:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready