Hello,

I've been having quite a few problems building MySQL-python-1.2.2.
Most recently I'm getting these errors when trying to build:

python setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.3-i386-2.5
copying _mysql_exceptions.py -> build/lib.macosx-10.3-i386-2.5
creating build/lib.macosx-10.3-i386-2.5/MySQLdb
copying MySQLdb/__init__.py -> build/lib.macosx-10.3-i386-2.5/MySQLdb
copying MySQLdb/converters.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb
copying MySQLdb/connections.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb
copying MySQLdb/cursors.py -> build/lib.macosx-10.3-i386-2.5/MySQLdb
copying MySQLdb/release.py -> build/lib.macosx-10.3-i386-2.5/MySQLdb
copying MySQLdb/times.py -> build/lib.macosx-10.3-i386-2.5/MySQLdb
creating build/lib.macosx-10.3-i386-2.5/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.macosx-10.3-
i386-2.5/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.macosx-10.3-
i386-2.5/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb/constants
copying MySQLdb/constants/FLAG.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb/constants
copying MySQLdb/constants/REFRESH.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.macosx-10.3-i386-2.5/
MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.macosx-10.3-i386-2.5
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -Dversion_info=(1,2,2,'final',0) -
D__version__=1.2.2 -I/usr/local/mysql/include -I/opt/local/Library/
Frameworks/Python.framework/Versions/2.5/include/python2.5 -c _mysql.c
-o build/temp.macosx-10.3-i386-2.5/_mysql.o -Os -arch i386 -fno-common
In file included from /usr/local/mysql/include/mysql.h:47,
                 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 '/usr/bin/gcc-4.0' failed with exit status 1

Is there something I should fix in the 'types.h' file?

Thanks,

Jason

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to