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

Discussion in 'Python' started by scum, Dec 8, 2006.

  1. scum

    scum Guest

    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
     
    scum, Dec 8, 2006
    #1
    1. Advertising

  2. scum

    scum Guest

    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.
     
    scum, Dec 8, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    790
  2. Olivier Langlois

    Problem with installing MySQL-python-1.2.1_p2

    Olivier Langlois, May 24, 2006, in forum: Python
    Replies:
    0
    Views:
    323
    Olivier Langlois
    May 24, 2006
  3. Sean O'Donnell
    Replies:
    2
    Views:
    354
    Sean O'Donnell
    Jan 5, 2007
  4. pat allan

    Compiling MySQL-Ruby on Tiger

    pat allan, May 18, 2005, in forum: Ruby
    Replies:
    18
    Views:
    254
  5. Joseph Alotta

    help installing mysql-ruby on Tiger

    Joseph Alotta, Jun 18, 2005, in forum: Ruby
    Replies:
    1
    Views:
    122
    Joseph Alotta
    Jun 19, 2005
Loading...

Share This Page