宝塔10周年开年大促,年度钜惠,先领红包再下单,享受折上折,还有抽奖!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【已解答】编译宝塔运行环境失败

发表在 Linux面板2022-7-17 14:59 [复制链接] 5 7534

服务器是群晖7.0系统,有公网,安装宝塔面板提示错误:

Python-3.7.8/Objects/obmalloc.c
Python-3.7.8/Objects/object.c
Python-3.7.8/Objects/abstract.c
Python-3.7.8/Objects/listobject.c
Python-3.7.8/Objects/bytes_methods.c
Python-3.7.8/Objects/dictnotes.txt
Python-3.7.8/Objects/typeslots.inc
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.8':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
install_panel.sh: line 527: make: command not found
install_panel.sh: line 528: make: command not found
=================================================
ERROR: Make python env fielded.
ERROR: 编译宝塔运行环境失败!
install_panel.sh: line 51: getconf: command not found
install_panel.sh: line 53: getconf: command not found

Bit: Mem:14945M Core:
Linux GS-NAS 4.4.180+ #42218 SMP Fri Sep 24 02:41:40 CST 2021 x86_64 GNU/Linux synology_apollolake_918+
请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
root@GS-NAS:~#
Network error: Software caused connection abort


使用道具 举报 只看该作者 回复
发表于 2022-7-17 15:19:45 | 显示全部楼层
您好,您手动安装下gcc和cmake后重新安装面板是否可以
  1. yum install cmake  gcc gcc-c++ -y
复制代码


安装命令:
  1. wget -O install.sh http://download.bt.cn/install/install_panel.sh && bash install.sh
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-7-17 15:39:38 | 显示全部楼层
root@GS-NAS:~# yum install cmake  gcc gcc-c++ -y
-ash: yum: command not found

提示这个
使用道具 举报 回复 支持 反对
发表于 2022-7-17 15:43:11 | 显示全部楼层
大炮运维V587 发表于 2022-7-17 15:19
您好,您手动安装下gcc和cmake后重新安装面板是否可以

您好,安装GCC提示错误

root@GS-NAS:~# yum install cmake  gcc gcc-c++ -y
-ash: yum: command not found
使用道具 举报 回复 支持 反对
发表于 2022-7-17 18:56:34 | 显示全部楼层
宝塔用户_pneyft 发表于 2022-7-17 15:43
您好,安装GCC提示错误

root@GS-NAS:~# yum install cmake  gcc gcc-c++ -y

小白,不太会操作,请问有教程吗? 不行就算了···
使用道具 举报 回复 支持 反对
发表于 2022-7-18 10:20:53 | 显示全部楼层
宝塔用户_pneyft 发表于 2022-7-17 18:56
小白,不太会操作,请问有教程吗? 不行就算了···

这是debian还是Ubuntu?
  1. apt-get update
  2. apt-get install cmake  gcc gcc-c++ -y
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术分析

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

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