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

S

scum

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

....
....
_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
 
S

scum

And I know about the precompiled binary... I'm just sick of getting
this warning....

Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.__main__:1: RuntimeWarning: Python C API version mismatch for module
_mysql: This Python has API version 1013, module _mysql has version
1012.
 

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,962
Messages
2,570,134
Members
46,690
Latest member
MacGyver

Latest Threads

Top