[Pythonmac-SIG] installing MySQL for Python

Christian Meesters meesters at uni-mainz.de
Wed Mar 23 10:33:35 CET 2005


Hi

Has anybody experience installing MySQL-Python (v1.2)? In this case I'd  
like to install it for the standard 2.3 (for the record: I'm using  
10.3.8 with Python Panther Fix).

Simply starting 'python setup.py build' results in a bunch of errors  
and compiler warning and eventually fails:
#just the last few errors and warnings for brevity:
_mysql.c: In function `_mysql_ResultObject_setattr':
_mysql.c:2360: error: `v' undeclared (first use in this function)
_mysql.c:2371: error: `name' undeclared (first use in this function)
_mysql.c:2372: error: `self' undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:172: warning: `_mysql_server_init__doc__' defined but not used
_mysql.c:183: warning: `_mysql_server_init' defined but not used
_mysql.c:267: warning: `_mysql_server_end__doc__' defined but not used
_mysql.c:273: warning: `_mysql_server_end' defined but not used
error: command  
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/config/PantherPythonFix/run-gcc' failed with exit status 1

Any idea how I could solve my problem?

It's not the first time problems with MySQL for Python are discussed on  
this list, but I can't see how much my problem is related to what we  
have had before. So, I hope you forgive me asking this if this question  
was raised in some other way before.

Thanks a lot in advance.
Cheers
Christian





More information about the Pythonmac-SIG mailing list