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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The only thing that looks a little odd (and my version does this too, but I don't think it's a problem) is that --cflags includes the include path from --include.
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.
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).
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]
The only thing that looks a little odd (and my version does this too, but I don't think it's a problem) is that --cflags includes the include path from --include.
Follow-up here: https://sourceforge.net/tracker/index.php?func=detail&aid=1146226&group_id=22307&atid=374932