configure: error: no acceptable C compiler found in $PATH
源码编译python2.7.2报如下错误:
# ./configure
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/python2.7.2/Python-2.7.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
没有找到相关结果
已邀请:
1 个回复
空心菜 - 心向阳光,茁壮成长
# yum -y install gcc gcc-c++