ExpoBrain

Errore “mysql_config not found” nell’installazione di MySQL_python in Mac OS X 64bit

logomysql.gif

Questo post è un semplice aggiornamento del post Errore “mysql_config not found” nell’installazione di MySQL_python in Mac OS X in caso incontriate il problema su sistemi a 64bit.

Appena avete scaricato e scompattato il pacchetto MySQL-python applicate questa patch:

36,38d35
< #ifndef uint
< #define uint unsigned int
< #endif
435,436c432,433
<       uint port = MYSQL_PORT;
<       uint client_flag = 0;

>       unsigned int port = MYSQL_PORT;
>       unsigned int client_flag = 0;

al file build/MySQL-python-1.2.0/_mysql.c e procedete come indicato nel mio post.

Interesse 3.00 su 5
[?]

No comments yet. Be the first.

Leave a reply

You must be logged in to post a comment.