История изменений
Исправление User01, (текущая версия) :
заметил момент, что командой ниже configure проходит нормально, без ошибок но...
./configure --add-module=/root/testcookie-nginx-module/testcookie-nginx-module-master --add-module=/root/ngx_http_geoip2_module $(nginx -V)
./configure --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-8G38mz/nginx-1.10.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-auth-pam --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-dav-ext-module --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-echo --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-upstream-fair --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/ngx_http_substitutions_filter_module --add-module=/root/testcookie-nginx-module/testcookie-nginx-module-master --add-module=/root/ngx_http_geoip2_module
вот сама ошибка если таким методом конфигурировать
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional modules
adding module in /root/testcookie-nginx-module/testcookie-nginx-module-master
+ ngx_http_testcookie_access_module was configured
adding module in /root/ngx_http_geoip2_module
checking for MaxmindDB library ... found
+ ngx_geoip2_module was configured
configuring additional dynamic modules
adding module in /build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-auth-pam
./configure: error: no /build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-auth-pam/config was found
root@vds:~/nginx-1.10.3# apt-get install libnginx-mod-http-auth-pam
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnginx-mod-http-auth-pam is already the newest version (1.10.3-1+deb9u7).
libnginx-mod-http-auth-pam set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Исходная версия User01, :
заметил момент, что командой
./configure --add-module=/root/testcookie-nginx-module/testcookie-nginx-module-master --add-module=/root/ngx_http_geoip2_module $(nginx -V)
./configure --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-8G38mz/nginx-1.10.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-auth-pam --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-dav-ext-module --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-echo --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-upstream-fair --add-dynamic-module=/build/nginx-8G38mz/nginx-1.10.3/debian/modules/ngx_http_substitutions_filter_module --add-module=/root/testcookie-nginx-module/testcookie-nginx-module-master --add-module=/root/ngx_http_geoip2_module
вот сама ошибка если таким методом конфигурировать
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional modules
adding module in /root/testcookie-nginx-module/testcookie-nginx-module-master
+ ngx_http_testcookie_access_module was configured
adding module in /root/ngx_http_geoip2_module
checking for MaxmindDB library ... found
+ ngx_geoip2_module was configured
configuring additional dynamic modules
adding module in /build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-auth-pam
./configure: error: no /build/nginx-8G38mz/nginx-1.10.3/debian/modules/nginx-auth-pam/config was found
root@vds:~/nginx-1.10.3# apt-get install libnginx-mod-http-auth-pam
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnginx-mod-http-auth-pam is already the newest version (1.10.3-1+deb9u7).
libnginx-mod-http-auth-pam set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.