关于 mysqldb on lions 安装不上各种问题

2012-04-03 21:37:15 +08:00
 lolocoo
用 sudo easy_install mysql-python

报错 error: Setup script exited with error: command 'llvm-gcc-4.2' failed with exit status 1

用 sudo python setup.py install 下载下来的包安装

报错 error: command 'llvm-gcc-4.2' failed with exit status 1


不知道哪里错误,查不到相关的资料?是我哪里配置错了?

请求指教。
3914 次点击
所在节点    Python
3 条回复
sutar
2012-04-03 21:43:17 +08:00
先装pkg-config试试

$ brew install pkg-config
lolocoo
2012-04-03 22:10:37 +08:00
@sutar macports 下没搜到你说的那个软件,
sutar
2012-04-03 22:15:32 +08:00
我是用homebrew装的pkg-config

http://mxcl.github.com/homebrew/

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/31269

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX