Linux 64ビットにパッケージまたはソフトウェアをインストールすることはできません。

Linux 64ビットにパッケージまたはソフトウェアをインストールすることはできません。

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

ベストアンサー1

Cコンパイラがないようです。

これを行う:yum install gcc gcc-c++ autoconf automake

C コンパイラのインストールの詳細については、こちらをご覧ください。

おすすめ記事