./configure问题

来源:3-3 Ansible配合virtualenv安装配置

慕码人4277038

2022-07-02

./configure --prefix=/usr/local --with-ensurepip=install --enable-shared LDFLAGS="-wl,-rpath /usr/local/lib"
在执行命令时报错,不成功
checking build system type… x86_64-pc-linux-gnu
checking host system type… x86_64-pc-linux-gnu
checking for python3.6… no
checking for python3… no
checking for python… python
checking for --enable-universalsdk… no
checking for --with-universal-archs… no
checking MACHDEP… linux
checking for --without-gcc… no
checking for --with-icc… no
checking for gcc… gcc
checking whether the C compiler works… no
configure: error: in /root/Python-3.6.5': configure: error: C compiler cannot create executables Seeconfig.log’ for more details

这是config.log最后的一句话
configure: exit 77

写回答

1回答

一路向北

2022-07-09

#  ./configure --prefix=/usr/local --with-ensurepip=install --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
按照这个再编译一次
0
1
慕码人4277038
非常感谢!
2022-07-13
共1条回复

Jenkins+Ansible+Gitlab-三剑合璧掌握自动化部署

整合三大工具解决自动化部署&持续交付问题

1290 学习 · 319 问题

查看课程