我使用的是 Linux RHEL6,无法安装任何软件包。
[root@linux6 Python-2.7.9]# uname -a
Linux linux6.4 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@linux6 Python-2.7.9]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/src/Python-2.7.9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
[root@linux6 Python-2.7.9]#
尝试使用 linux32 但没有运气:
[root@linux6 Python-2.7.9]# linux32 ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/src/Python-2.7.9':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details