installing mysqldb errors

M

matthew collins

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top