When I try to install whichever python package, I get the following error:
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch:
now "10.5" but "10.4" during configure

When I do:  "which python", I:q
 get:
/opt/local/bin/python
And "python --version" gives "Python 2.6.4"
in /opt/local/etc/select/python I do have the softlink "current -> python26"

In my /Library/Frameworks/Python.framework/Versions/2.6/Headers/pyconfig.h I
do have the lines:
/* Define if compiling using MacOS X 10.5 SDK or later. */
#define HAVE_OSX105_SDK 1

Should I set this value to "#define HAVE_OSX105_SDK 0"?
note: I already tried this and logged out/logged in, but it didn't change
anything.



In my macports.conf I have since a very long time (over multiple macports
versions)  the following setting.
# MACOSX_DEPLOYMENT_TARGET
universal_target        10.4

Currently I'm on macports 1.8.1.

How can I overcome this python mismatch error?

best,
Harry
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to