码迷,mamicode.com
首页 > 编程语言 > 详细

分享一下 aix安装python提示C编译器问题的办法

时间:2014-12-12 14:37:14      阅读:423      评论:0      收藏:0      [点我收藏+]

标签:ar   sp   for   on   问题   log   bs   as   nbsp   

 

今天在AIX上面安装Python-2.7.2时失败,报下面的错误

checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... aix6 checking EXTRAPLATDIR... checking machine type as reported by uname -m... 00C72F964C00 checking for --without-gcc... checking for gcc... xlc_r checking whether the C compiler works... no configure: error: in `/bomcht4/bomc/tools/python2.7/src/Python-2.7.2‘: configure: error: C compiler cannot create executables See `config.log‘ for more details

 

解决办法

    设置环境变量

    export  CC=gcc

 

再次安装成功!

分享一下 aix安装python提示C编译器问题的办法

标签:ar   sp   for   on   问题   log   bs   as   nbsp   

原文地址:http://www.cnblogs.com/luomgf/p/4159499.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!