If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-12-24
I have the same problem, and none of the suggested solutions help. When I do
an ls /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h, I get the file
shown to be there.
Have you found a solution?
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm attempting to build 1.2.3c1 on OS X 10.6 installed, but keep getting this error message:
MySQL-python-1.2.3c1$ python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.macosx-10.3-i386-2.6/MySQLdb
running build_ext
building '_mysql' extension
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Dversion_info=(1,2,3,'gamma',1) -Dversion=1.2.3c1 -I/usr/local/mysql/include/mysql -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.3-i386-2.6/_mysql.o -arch x86_64 -fno-omit-frame-pointer -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
from pymemcompat.h:10,
from _mysql.c:29:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
error: command 'gcc' failed with exit status 1
Any ideas?
did you update your XCode install? There's an installer for it on the SL DVD
Check this instructions, they worked for me ( just ignore the Django part ),
http://projectmouse.org/Installing+Django+for+Leopard+with+MySQL+Support.html
I have the same problem, and none of the suggested solutions help. When I do
an ls /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h, I get the file
shown to be there.
Have you found a solution?
John