./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 See
config.log’ for more details
这是config.log最后的一句话
configure: exit 77
1回答
-
# ./configure --prefix=/usr/local --with-ensurepip=install --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
按照这个再编译一次012022-07-13
相似问题