I found the following tip on the web:
get:
[dfn.dl.sourceforge.net]
unstuff and patch the file _mysql.c by just removing the following lines:
#ifndef uintIt compiled and installed Ok, then with the usual
#define uint unsigned int
#endif
sudo python setup.py install
Nonetheless it refuses to work with 64-bit mod_python and mod_wsgi, which doesn't surprise.
It seems like I need to wait for a 64-bit version of the Mysql server, so all these components can play nicely together again.
Until then I think, I'll need to stick with mod_fastcgi, which comes with Leopard already as 64-bit compiled, if I want to stay with mysql + trac + apache 64-bit. Unfortunately I do not get mod_fcgid to work with trac on leopard, although I was able to compile a 64-bit version of mod_fcgid. Fcgid is what I used before and what worked vers well for me in terms of speed, although it has a problem with rendering huge pages (e.g. huge scripts in the repository browser)
UPDATE: I was able to get mod_fcgid to work on Leopard meanwhile. Here is how