MySQL-python-1.2.1_p2, Python 2.5 and OS X Tiger

scum scumitchell at gmail.com
Fri Dec 8 11:56:13 EST 2006


How do you install MySQL-python-1.2.1_p2 on a PPC OS X 10.4 machine
with MySQL 4.1?

>>> python setup.py build

...
...
_mysql.c:2854: error: parse error before ')' token
_mysql.c:2854: error: called object '&<erroneous-expression>' is not a
function
_mysql.c:2854: error: called object '&<erroneous-expression>' is not a
function
_mysql.c:2854: error: called object '*(&<erroneous-expression>)' is not
a function
lipo: can't figure out the architecture type of: /var/tmp//ccurx79n.out
error: command 'gcc' failed with exit status 1




More information about the Python-list mailing list