【已解答】centos 8.5安装nginx失败
Linux centos 8.5安装nginx 失败checking for malloc_trim ... found
checking for pipe2 ... found
checking for signalfd ... found
checking for execvpe ... found
+ ngx_http_lua_module was configured
adding module in /www/server/nginx/src/ngx_cache_purge
+ ngx_http_cache_purge_module was configured
adding module in /www/server/nginx/src/nginx-sticky-module-ng-1.3.0
+ ngx_http_sticky_module was configured
adding module in /www/server/nginx/src/ngx_http_substitutions_filter_module-master
+ ngx_http_subs_filter_module was configured
adding module in /www/server/nginx/src/nginx-dav-ext-module
+ ngx_http_dav_ext_module was configured
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... not found
checking for GD library in /usr/local/ ... not found
checking for GD library in /usr/pkg/ ... not found
checking for GD library in /opt/local/ ... not found
checking for GD library in /opt/homebrew/ ... not found
./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.
make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
/www/server/panel/install/public.sh: line 157: cmake: command not found
CentOS Linux release 8.5.2111
Bit:64 Mem:1735M Core:2 gcc:8.5.0 cmake:
Linux 4.18.0-348.7.1.el8_5.x86_64 x86_64
https://c.wss.cc/f/hrr1wkoi1us make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop. checking for malloc_trim ... found
checking for pipe2 ... found
checking for signalfd ... found
checking for execvpe ... found
+ ngx_http_lua_module was configured
adding module in /www/server/nginx/src/ngx_cache_purge
+ ngx_http_cache_purge_module was configured
adding module in /www/server/nginx/src/nginx-sticky-module-ng-1.3.0
+ ngx_http_sticky_module was configured
adding module in /www/server/nginx/src/ngx_http_substitutions_filter_module-master
+ ngx_http_subs_filter_module was configured
adding module in /www/server/nginx/src/nginx-dav-ext-module
+ ngx_http_dav_ext_module was configured
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for GD library ... not found
checking for GD library in /usr/local/ ... not found
checking for GD library in /usr/pkg/ ... not found
checking for GD library in /opt/local/ ... not found
checking for GD library in /opt/homebrew/ ... not found
./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.
make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
/www/server/panel/install/public.sh: line 157: cmake: command not found
CentOS Linux release 8.5.2111
Bit:64 Mem:1735M Core:2 gcc:8.5.0 cmake:
Linux 4.18.0-348.7.1.el8_5.x86_64 x86_64 yum install gd gd-devel cmake -y
执行命令重新安装,centos8官方已经停止维护,尽量更换debian12,ubuntu24.04等其他系统
页:
[1]