First of all you may try a precompiled binary egg in the attachment.
If it does not work you may need to follow these steps:
Keywords
error: unrecognized command line option "-Wno-long-double"
error: command 'gcc' failed with exit status
Edit your:
/Library/Frameworks/Python.framework/Versions/5.1.1/lib/python2.5/config/Makefile
And remove "-Wno-long-double" from BASECFLAGS
e.g.: BASECFLAGS= -fno-strict-aliasing -no-cpp-precomp -mno-fused-madd -fno-common -dynamic
(suggested by http://osdir.com/ml/python.f2py.user/2005-10/msg00002.html)
Then as suggested by http://blog.some-abstract-type.com/2009/09/mysql-python-and-mac-os-x-106-snow.html
shell> PATH="/usr/local/mysql/bin:$PATH"
shell> tar xzf MySQL-python-1.2.3c1.tar.gz
shell> cd MySQL-python-1.2.3c1
shell> ARCHFLAGS="-arch x86_64" /usr/bin/python setup.py build
shell> /usr/bin/python setup.py install
----------------
Keywords:
|
| |
6:32pm | |
| |
6:31pm | |
| |
6:25pm | |
| |
6:25pm | |
|
6:23pm | |
| |
|
6:22pm | |
6:22pm | |
|
6:09pm | |
| |
|
6:03pm | |
| |
6:02pm | |
| |
| |
5:57pm | |
5:54pm | Not starred | | |
|
5:54pm | Not starred | |
|
5:54pm | |
| |
| |
5:51pm | |
5:51pm | |
5:39pm | |
5:38pm | |
| |
| |
| |
| |
5:38pm | |
| |
| |
5:37pm | |
|