building py-pyobjc2 gives $MACOSX_DEPLOYMENT_TARGET mismatch

Joshua Root jmr at macports.org
Thu May 28 20:49:58 PDT 2009


On 2009-5-29 03:51, Ryan Schmidt wrote:
> On May 28, 2009, at 11:06, Harry van der Wolf wrote:
>> All went fine to py-pyobjc2 which menations
>> "distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET
>> mismatch: now "10.5" but "10.4" during configure".
>> I did a port clean of py-pyobjc2 and changed the 10.4 setting to 10.5
>> and tried to build py-pyobjc2 again. The same error still occurred, so
>> I changed it back to 10.4.
>>
>> What can I do about this?
> 
> My understanding is that PyObjC 2.x requires Mac OS X 10.5.x or greater
> (thus the 10.5 or greater SDK and MACOSX_DEPLOYMENT_TARGET set to 10.5
> or greater), while PyObjC 1.x requires Mac OS X 10.4.x or earlier.

That's right. The upcoming 2.2 release should work on both Tiger and
Leopard.

- Josh


More information about the macports-users mailing list