今天在安装python的时候出现如下的错误:
[root@local Python-3.3.4]# ./configure
checking build system type... i686-pc-linux-gnuchecking host system type... i686-pc-linux-gnu
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/pythonSoft/Python-3.3.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决方法:
原因是: 缺少gcc编译环境
配置yum,可以用yum install -y gcc
没有配置yum : 可以安装gcc的安装包