MySQL :: Re: Problems in building 1.2.2 on Mac OS 10.5

2008年12月21日(日) 14:25


About : http://forums.mysql.com/read.php?50,175059,217516#msg-217516
Rate: 2

OSX10.5にmysql-pythonを入れる方法。

First you need to fix the unsigned int problem in _mysql.c
_mysql.c

//comment this out
37 //#ifndef uint
38 //#define uint unsigned int
39 //#endif

//change the unit back to unsigned int
484 unit port = MYSQL_PORT; -> unsigned int port = MYSQL_PORT;
485 unit client_flag = 0; -> unsigned int client_flag = 0;


 
ponybadge

Powered by

Feedbacks

Tweets

Tags

Calendar