MySQL Python driver building (breaking?) on 10.5

This post has already been read 5074 times!


Trying to get my mysql environment setup on 10.5 I ran head-long into the mysql python 1.22 drivers breaking with xcode 3.

from _mysql.c:40: /usr/include/sys/types.h:92: error: duplicate ‘unsigned’ /usr/include/sys/types.h:92: error: two or more data types in declaration specifiers error: command 'gcc' failed with exit status 1

The fixed is coved over at the Ingels 3.0. fairly simple fix, but due to my complete lack of c programming skils, one that I couldn’t have come up with on my own. But edit a few lines and it complies fine. Thanks Ingles.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.