免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: graflong
打印 上一主题 下一主题

急啊!我在安装MySQL-python-1.2.0时,遇到以下问题 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2006-04-11 20:10 |只看该作者
还是不行
root@TNC1 # python setup.py build
/usr/local/ASpy24/lib/python2.4/distutils/extension.py:133: UserWarning: Unknown
Extension options: 'mysql_root'
  warnings.warn(msg)
running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
running build_ext
building '_mysql' extension
cc -DNDEBUG -O -xcode=pic32 -I/usr/local/mysql-standard-5.0.19-solaris8-sparc-64
bit/include -I/usr/local/ASpy24/include/python2.4 -c _mysql.c -o build/temp.sola
ris-2.8-sun4u-2.4/_mysql.o -xO3 -mt -D_FORTEC_ -xarch=v9 -Dversion_info="(1,2,1,
'final',2)" -D__version__="1.2.1_p2"
cc: warning: `-x arch=v9' after last input file has no effect
cc: language code=pic32 not recognized
cc: _mysql.c: linker input file unused because linking not done
cc -G build/temp.solaris-2.8-sun4u-2.4/_mysql.o -L/usr/local/mysql-standard-5.0.
19-solaris8-sparc-64bit/lib -lmysqlclient -o build/lib.solaris-2.8-sun4u-2.4/_my
sql.so
cc: build/temp.solaris-2.8-sun4u-2.4/_mysql.o: No such file or directory
error: command 'cc' failed with exit status 1

论坛徽章:
0
22 [报告]
发表于 2006-04-12 09:39 |只看该作者
up一下!

论坛徽章:
0
23 [报告]
发表于 2006-04-12 10:09 |只看该作者
大虾,近来帮帮忙啊!

论坛徽章:
0
24 [报告]
发表于 2006-04-12 11:03 |只看该作者
root@TNC1 # python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.8-sun4u-2.4/MySQLdb
running build_ext
building '_mysql' extension
cc -DNDEBUG -O -xcode=pic32 -I/usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit/include -I/usr/local/ASpy24/include/python2.4 -c _mysql.c -o build/temp.solaris-2.8-sun4u-2.4/_mysql.o -xO3 -mt -D_FORTEC_ -xarch=v9 -Dversion_info="(1,2,1,'final',2)" -D__version__="1.2.1_p2"
/usr/ucb/cc:  language optional software package not installed
error: command 'cc' failed with exit status 1

关键是最后两句,请大虾指点一二。

论坛徽章:
0
25 [报告]
发表于 2006-04-12 11:55 |只看该作者

回复 24楼 graflong 的帖子

试下用GCC

论坛徽章:
0
26 [报告]
发表于 2006-04-12 12:38 |只看该作者
哦,好的!

论坛徽章:
0
27 [报告]
发表于 2006-04-12 20:56 |只看该作者

回复 25楼 webstroller 的帖子

用的就是GCC
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP