【已解答】使用python manager 安装python出错
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:7.0.18系统版本:
centos7.9
问题描述:
无法使用python manager 安装python3.8.20,曾经修改过gcc版本与make版本
相关截图(日志、错误):
creating Makefile
If you want a release build with all stable optimizations active (PGO, etc),
please run ./configure --enable-optimizations
gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration-I./Include/internal-I. -I./Include -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
/tmp/ccLcPbv7.s: Assembler messages:
/tmp/ccLcPbv7.s:12: Error: unknown .loc sub-directive `view'
/tmp/ccLcPbv7.s:12: Error: junk at end of line, first unrecognized character is `-'
/tmp/ccLcPbv7.s:14: Error: unknown .loc sub-directive `view'
/tmp/ccLcPbv7.s:14: Error: unknown pseudo-op: `.lvu1'
/tmp/ccLcPbv7.s:15: Error: unknown .loc sub-directive `view'
/tmp/ccLcPbv7.s:15: Error: unknown pseudo-op: `.lvu2'
/tmp/ccLcPbv7.s:18: Error: unknown .loc sub-directive `view'
/tmp/ccLcPbv7.s:18: Error: unknown pseudo-op: `.lvu3'
make: *** Error 1
看错误应该是gcc的问题,更换了gcc版本导致的
可以将binutils也升级一下试试
或者将gcc改回之前的版本
页:
[1]