Actually, use the file attached to THIS message. Has one more little fix that'll make life easier with OSX.

Attachment: MySQL-python-1.2.0.patch03
Description: Binary data



On Jan 25, 2008, at 2:25 PM, sdnall wrote:

Tried searching around but could not find any posts mentioning the problem that I'm running into.

Everything seems to be going fine with the install until the portion of the script that tries to install mysql-python.

I'm using:

Mac OS 10.5.1
MySQL 5.0.45 (built from source)
swig (macports)
python 2.4.4 (macports)

Message from zenbuild.log:

Code:

building '_mysql' extension
creating build/temp.macosx-10.3-i386-2.4
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall - Wstrict-prototypes -I/usr/local/mysql/include/mysql -I/opt/local/ Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 - c _mysql.c -o build/temp.macosx-10.3-i386-2.4/_mysql.o -I/usr/local/ mysql/include/mysql -fno-omit-frame-pointer
In file included from /usr/local/mysql/include/mysql/mysql.h:43,
                from _mysql.c:41:
/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




Any help or suggestions would be much appreciated!

Thanks




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15776#15776

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to