FIX ERROR — Nginx: Зависимости при сборки с исходников

 

В данном примере имена пакетов соответствуют DEB системам.

PCRE

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre= option.
Решение:
apt install libpcre3 libpcre3-dev

 

OpenSSL

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option.
Решение:
apt install openssl libssl-dev

 

Gzip

./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using --without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib= option.
Решение:
apt install zlib1g zlib1g-dev

 

XSLT

./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.
Решение:
apt install libxslt-dev

 

GD

./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.
Решение:
apt install libgd-dev

 

GeoIP

./configure: error: the GeoIP module requires the GeoIP library.
You can either do not enable the module or install the library.
Решение:
apt install libgeoip-dev

Метки: Метки

Подписаться
Уведомить о
guest

1 Комментарий
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
Петро
Петро
7 месяцев назад

Спасибо 🙂