Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > MySQL-python-1.2.1_p2, Python 2.5 and OS X Tiger

Reply
Thread Tools

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

 
 
scum
Guest
Posts: n/a
 
      12-08-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

 
Reply With Quote
 
 
 
 
scum
Guest
Posts: n/a
 
      12-08-2006
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.
>>> import _mysql

__main__:1: RuntimeWarning: Python C API version mismatch for module
_mysql: This Python has API version 1013, module _mysql has version
1012.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help creating Tiger hash function in Python Mark Livingstone Python 1 05-07-2007 05:54 AM
Network computer name problem w/ Tiger and DRb Jim Freeze Ruby 17 11-11-2005 11:25 PM
Compiling a Python File on Mac OS X Tiger Asad Habib Python 1 07-26-2005 02:47 PM
Eclipse and Tiger bigbinc@hotmail.com Java 1 10-01-2004 11:16 PM
Re: Tiger Hash Function in Python Tino Lange Python 0 06-26-2003 12:00 PM



Advertisments