cent os 下安装python3 报错
正常在官网下载解压
执行./configure --prefix=/usr/local/python3
报错
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for python3.5... 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 `/home/app_user_5i5j/Python-3.5.4':
configure: error: C compiler cannot create executables
See `config.log' for more details