installing mysqldb errors

matthew collins matthewcollins at cfl.rr.com
Wed Oct 13 18:41:25 EDT 2004


hi all,

trying to install mysqldb 1.0 and receiving a LOT of errors during the 
process.

following the directions of by
export mysqlversion="3.23.58"
export mysqlclient="mysqlclient"
export mysqloptlibs=""
python setup.py build

after the 'python setup.py build' line, i get errors such as

_mysql.c:1375: warning: implicit declaration of function `mysql_insert_id'
_mysql.c: At top level:
_mysql.c:1386: error: syntax error before '*' token
_mysql.c:1388: warning: function declaration isn't a prototype
_mysql.c: In function `_mysql_ConnectionObject_kill':
_mysql.c:1391: error: `args' undeclared (first use in this function)
_mysql.c:1392: error: `self' undeclared (first use in this function)
_mysql.c:1394: warning: implicit declaration of function `mysql_kill'


that's just the beginning of the errors. it goes on like that for 
several bash pages and ends with:


_mysql.c:180: warning: `_mysql_server_init__doc__' defined but not used
_mysql.c:191: warning: `_mysql_server_init' defined but not used
_mysql.c:275: warning: `_mysql_server_end__doc__' defined but not used
_mysql.c:281: warning: `_mysql_server_end' defined but not used
error: command 'gcc' failed with exit status 1


so, any suggestions of where i can start looking to fix these errors?

thanks



More information about the Python-list mailing list