/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
I solved it by renaming stdarg.h and replacing it with a link to
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc/darwin/3.3/stdarg.h
This should work if you're trying to build the python mysql module too.