c786836332 发表于 2024-3-25 10:31:57

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

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本: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

c786836332 发表于 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

c786836332 发表于 2024-3-25 11:14:02

已解决
解决思路:
首先我百度了一下 发现8.2没有C++ C等等环境 所以我需要安装C++ C等等环境 然后我有遇到了 没有源的情况 然后我又百度了一下 更换了阿里源 然后我安装了C++ C等等环境 最后我在宝塔就可以安装上nginx mysql php 就这样解决了
页: [1]
查看完整版本: 【已完成】centos8.2 安装了宝塔 安装不了nginx,php,mysql