Menu

Building 1.2.0 fails on MacOSX

Help
2005-02-22
2012-09-19
  • beat birkhofer

    beat birkhofer - 2005-02-22

    Hi

    Any clues why setup.py build fails? Earlier Versions worked fine.

    % python setup.py build
    running build
    running build_py
    creating build
    creating build/lib.darwin-7.8.0-Power_Macintosh-2.4
    copying _mysql_exceptions.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4
    creating build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/init.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/converters.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/connections.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/cursors.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/sets.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/times.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/stringtimes.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/mxdatetimes.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    copying MySQLdb/pytimes.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb
    creating build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/init.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/CR.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/ER.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/FLAG.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/REFRESH.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    copying MySQLdb/constants/CLIENT.py -> build/lib.darwin-7.8.0-Power_Macintosh-2.4/MySQLdb/constants
    running build_ext
    error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during configure

    I'm using python python 2.4 and MySQL 4.1.7, both installed from fink.

    Regards

    Beat H.

     
    • Andy Dustman

      Andy Dustman - 2005-02-23

      There's a bug open for 1.2.0 build failures. Run mysql_config and post the output there. I have no clue what is going on with $MACOSX_DEPLOYMENT_TARGET (what it means or why it would change) as I actually touch Mac OS X less than Windows (though it is much more tolerable).

       
      • beat birkhofer

        beat birkhofer - 2005-02-23

        HTH:

        Options:
        --cflags [-I/sw/include/mysql -fomit-frame-pointer]
        --include [-I/sw/include/mysql]
        --libs [-L/sw/lib/mysql -lmysqlclient -lz -lm -L/sw/lib]
        --libs_r [-L/sw/lib/mysql -lmysqlclient_r -lz -lm -L/sw/lib]
        --socket [/tmp/mysql.sock]
        --port [3306]
        --version [4.0.22]
        --libmysqld-libs [-L/sw/lib/mysql -lmysqld -lz -lm -L/sw/lib]

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.