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

【待反馈】Ubuntu21.0.4安装宝塔面板失败

发表在 Linux面板2023-5-22 20:50 [复制链接] 2 2210

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec

系统版本:Ubuntu21.0.4

问题描述:安装失败

相关截图(日志、错误):
hon-3.7.16/PCbuild/_ssl.vcxproj
Python-3.7.16/PCbuild/python3dll.vcxproj
Python-3.7.16/PCbuild/_multiprocessing.vcxproj
Python-3.7.16/PCbuild/pythonw.vcxproj
Python-3.7.16/PCbuild/select.vcxproj
Python-3.7.16/PCbuild/openssl.props
Python-3.7.16/PCbuild/_queue.vcxproj.filters
Python-3.7.16/PCbuild/prepare_ssl.py
Python-3.7.16/PCbuild/idle.bat
Python-3.7.16/install-sh
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for python3.7... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/www/Python-3.7.16':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
install.sh: line 597: make: command not found
install.sh: line 598: make: command not found
=================================================
ERROR: Make python env fielded.
ERROR: 编译宝塔运行环境失败!
Ubuntu 21.04
\l
Bit:64 Mem:1978M Core:1
Linux entx3py8.vm 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:12:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux



使用道具 举报 只看该作者 回复
发表于 2023-5-22 21:33:11 | 显示全部楼层
您好,您服务器系统内是无GCC、CMake环境,所以导致面板无法正常安装的。
您在服务器命令行下安装下GCC以及Cmake环境然后重新安装面板试试
  1. apt-get update
  2. apt-get build-dep gcc cmake
复制代码

或者
  1. apt-get update
  2. apt-get install build-essential cmake
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-5-22 22:27:16 | 显示全部楼层
很少使用这个21.04的版本,直接换成CENTOS7.8了,已经OK了    多谢
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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