![无法在 Linux 64 位上安装任何软件包或软件](https://linux22.com/image/69005/%E6%97%A0%E6%B3%95%E5%9C%A8%20Linux%2064%20%E4%BD%8D%E4%B8%8A%E5%AE%89%E8%A3%85%E4%BB%BB%E4%BD%95%E8%BD%AF%E4%BB%B6%E5%8C%85%E6%88%96%E8%BD%AF%E4%BB%B6.png)
我使用的是 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