当前位置:论坛首页 > Linux面板 > 求助

【待反馈】无法安装Nginx 1.18 1.20.1.22都无法安装

发表在 Linux面板2023-7-28 11:37 [复制链接] 4 2974

本帖最后由 堡塔运维香菜卷 于 2023-7-28 11:54 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:免费版
系统版本:7.6 64位 但是面板上显示是7,9
问题描述:web无法安装

相关截图(日志、错误):


使用道具 举报 只看该作者 回复
发表于 2023-7-28 11:38:45 | 显示全部楼层
ory
checking for OS
+ Linux 3.10.0-957.el7.x86_64 x86_64
checking for C compiler ... not found

./configure: error: C compiler cc is not found

make: *** No rule to make target `build', needed by `default'. Stop.
make: *** No rule to make target `install'. Stop.

使用道具 举报 回复 支持 反对
发表于 2023-7-28 11:39:54 | 显示全部楼层
nginx-dav-ext-module-3.0.0/
nginx-dav-ext-module-3.0.0/LICENSE
nginx-dav-ext-module-3.0.0/README.rst
nginx-dav-ext-module-3.0.0/config
nginx-dav-ext-module-3.0.0/ngx_http_dav_ext_module.c
nginx-dav-ext-module-3.0.0/t/
nginx-dav-ext-module-3.0.0/t/dav_ext.t
--2023-07-28 11:32:41-- https://dg1.bt.cn/src/ngx_http_substitutions_filter_module-master.zip
Resolving dg1.bt.cn (dg1.bt.cn)... 42.157.129.47
Connecting to dg1.bt.cn (dg1.bt.cn)|42.157.129.47|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 120845 (118K) [application/zip]
Saving to: 'ngx_http_substitutions_filter_module-master.zip'

0K .......... .......... .......... .......... .......... 42% 1.67M 0s
50K .......... .......... .......... .......... .......... 84% 1.71M 0s
100K .......... ........ 100% 114M=0.06s

2023-07-28 11:32:41 (1.99 MB/s) - 'ngx_http_substitutions_filter_module-master.zip' saved [120845/120845]

Archive: ngx_http_substitutions_filter_module-master.zip
e12e965ac1837ca709709f9a26f572a54d83430e
creating: ngx_http_substitutions_filter_module-master/
extracting: ngx_http_substitutions_filter_module-master/.gitignore
inflating: ngx_http_substitutions_filter_module-master/CHANGES
inflating: ngx_http_substitutions_filter_module-master/README
inflating: ngx_http_substitutions_filter_module-master/config
creating: ngx_http_substitutions_filter_module-master/doc/
inflating: ngx_http_substitutions_filter_module-master/doc/README.google_code_home_page.wiki
inflating: ngx_http_substitutions_filter_module-master/doc/README.html
inflating: ngx_http_substitutions_filter_module-master/doc/README.wiki
inflating: ngx_http_substitutions_filter_module-master/ngx_http_subs_filter_module.c
creating: ngx_http_substitutions_filter_module-master/test/
inflating: ngx_http_substitutions_filter_module-master/test/README
creating: ngx_http_substitutions_filter_module-master/test/inc/
creating: ngx_http_substitutions_filter_module-master/test/inc/Module/
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/AutoInstall.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install.pm
creating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/AutoInstall.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Base.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Can.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Fetch.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Include.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Makefile.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Metadata.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/TestBase.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/Win32.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Module/Install/WriteAll.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Spiffy.pm
creating: ngx_http_substitutions_filter_module-master/test/inc/Test/
inflating: ngx_http_substitutions_filter_module-master/test/inc/Test/Base.pm
creating: ngx_http_substitutions_filter_module-master/test/inc/Test/Base/
inflating: ngx_http_substitutions_filter_module-master/test/inc/Test/Base/Filter.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Test/Builder.pm
creating: ngx_http_substitutions_filter_module-master/test/inc/Test/Builder/
inflating: ngx_http_substitutions_filter_module-master/test/inc/Test/Builder/Module.pm
inflating: ngx_http_substitutions_filter_module-master/test/inc/Test/More.pm
creating: ngx_http_substitutions_filter_module-master/test/lib/
creating: ngx_http_substitutions_filter_module-master/test/lib/Test/
inflating: ngx_http_substitutions_filter_module-master/test/lib/Test/Nginx.pm
creating: ngx_http_substitutions_filter_module-master/test/lib/Test/Nginx/
inflating: ngx_http_substitutions_filter_module-master/test/lib/Test/Nginx/LWP.pm
inflating: ngx_http_substitutions_filter_module-master/test/lib/Test/Nginx/Socket.pm
inflating: ngx_http_substitutions_filter_module-master/test/lib/Test/Nginx/Util.pm
creating: ngx_http_substitutions_filter_module-master/test/t/
inflating: ngx_http_substitutions_filter_module-master/test/t/subs.t
inflating: ngx_http_substitutions_filter_module-master/test/t/subs_capture.t
inflating: ngx_http_substitutions_filter_module-master/test/t/subs_fix_string.t
inflating: ngx_http_substitutions_filter_module-master/test/t/subs_none_regex.t
inflating: ngx_http_substitutions_filter_module-master/test/t/subs_regex.t
inflating: ngx_http_substitutions_filter_module-master/test/t/subs_types.t
inflating: ngx_http_substitutions_filter_module-master/test/test.sh
creating: ngx_http_substitutions_filter_module-master/util/
inflating: ngx_http_substitutions_filter_module-master/util/update-readme.sh
inflating: ngx_http_substitutions_filter_module-master/util/wiki2google_code_homepage.pl
inflating: ngx_http_substitutions_filter_module-master/util/wiki2pod.pl
cat: /www/server/panel/install/nginx/config.pl: No such file or directory
checking for OS
+ Linux 3.10.0-957.el7.x86_64 x86_64
checking for C compiler ... not found

./configure: error: C compiler cc is not found

make: *** No rule to make target `build', needed by `default'. Stop.
make: *** No rule to make target `install'. Sto
使用道具 举报 回复 支持 反对
发表于 2023-7-28 11:43:32 | 显示全部楼层
纠正系统的确是7.9
使用道具 举报 回复 支持 反对
发表于 2023-7-28 11:54:06 | 显示全部楼层
您好,麻烦您到终端手动执行下述安装命令看看是否能正常安装完成。
  1. yum install -y make cmake gcc gcc-c++ flex bison file libtool libtool-libs autoconf kernel-devel patch wget libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel tar bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel libcurl libcurl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel vim-minimal gettext gettext-devel gmp-devel pspell-devel libcap diffutils ca-certificates net-tools libc-client-devel psmisc libXpm-devel c-ares-devel libicu-devel libxslt libxslt-devel zip unzip glibc.i686 libstdc++.so.6 cairo-devel bison-devel libaio-devel perl perl-devel perl-Data-Dumper lsof pcre pcre-devel vixie-cron crontabs expat-devel readline-devel oniguruma-devel libwebp-devel libvpx-devel
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表