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

【已完成】centos8.2 安装了宝塔 安装不了nginx,php,mysql

发表在 Linux面板2024-3-25 10:31  关闭 [复制链接] 2 165

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:8.0.5
系统版本:centos8.2
问题描述:安装了宝塔 安装不了nginx,php,mysql
相关截图(日志、错误):

patching file srclib/stdio.in.hchecking for a BSD-compatible install... /bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make sets $(MAKE)... (cached) yeschecking for gcc... nochecking for cc... nochecking for cl.exe... noconfigure: error: in `/root/libiconv-1.14':configure: error: no acceptable C compiler found in $PATHSee `config.log' for more detailsmake: *** No targets specified and no makefile found. Stop.make: *** No rule to make target 'install'. Stop.install_soft.sh: line 24: nginx.sh: No such file or directory
使用道具 举报 只看该作者 回复
发表于 2024-3-25 10:34:13 | 显示全部楼层
patching file srclib/stdio.in.h
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/libiconv-1.14':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
install_soft.sh: line 24: php.sh: No such file or directory
使用道具 举报 回复 支持 反对
发表于 2024-3-25 11:14:02 | 显示全部楼层
已解决
解决思路:
首先我百度了一下 发现8.2没有C++ C等等环境 所以我需要安装C++ C等等环境 然后我有遇到了 没有源的情况 然后我又百度了一下 更换了阿里源 然后我安装了C++ C等等环境 最后我在宝塔就可以安装上nginx mysql php 就这样解决了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表