cc1: error: unrecognized command line option “-Wno-null-conversion” within installing python-mysql on mac 10.7.5

耗尽温柔 提交于 2019-11-28 06:04:59
w2moon

Try to Remove cflags -Wno-null-conversion -Wno-unused-private-field in

/usr/local/mysql/bin/mysql_config.

like:

cflags="-I$pkgincludedir  -Wall   -Os -g -fno-strict-aliasing -DDBUG_OFF -arch x86_64 " #note: end space!

Wow, I've been spending a couple of hours on thistrying to 'pip install MySQL-python'. I have been re-installing Xcode 4.6.3, the Xcode command line tools seperatly (on Mac OS X 10.7.5), and installing Kenneth Reitz' stuff (https://github.com/kennethreitz/osx-gcc-installer) to no avail while I was ...

Altering the cflags options finally helped!

Thanks!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!