building py-pyobjc2 gives $MACOSX_DEPLOYMENT_TARGET mismatch

William Davis frstan at bellsouth.net
Thu May 28 12:23:37 PDT 2009


try :
sudo port -d clean py-pyobjc2
and then try to build it again
WSD
On May 28, 2009, at 12:06 PM, Harry van der Wolf wrote:

> Hi,
>
> I have the following settings in my  macports.conf:
> # MACOSX_DEPLOYMENT_TARGET
> universal_target        10.4
>
> # the SDK "sysroot" to use
> universal_sysroot       /Developer/SDKs/MacOSX10.4u.sdk
>
> # machine architectures
> universal_archs         ppc i386
>
> I'm now trying to build py-game which needs py-pyobjc2 as  
> dependency. Universal didn't work, but that's no problem as I only  
> need this one on my own macbook. So, I tried to built py-game with - 
> universal.
>
> 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?
>
>
> Below the error message.
>
>
>
> --->  Building py-pyobjc2
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_python_py-pyobjc2/work/pyobjc-core" && / 
> opt/local/bin/python2.4 setup.py build " returned error 1
> Command output: Traceback (most recent call last):
>   File "setup.py", line 4, in ?
>     ez_setup.use_setuptools()
>   File "/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_python_py-pyobjc2/work/pyobjc-core/ 
> ez_setup/__init__.py", line 81, in use_setuptools
>     import setuptools
>   File "/opt/local/lib/python2.4/site-packages/setuptools/ 
> __init__.py", line 2, in ?
>     from setuptools.extension import Extension, Library
>   File "/opt/local/lib/python2.4/site-packages/setuptools/ 
> extension.py", line 2, in ?
>     from dist import _get_unpatched
>   File "/opt/local/lib/python2.4/site-packages/setuptools/dist.py",  
> line 5, in ?
>     from setuptools.command.install import install
>   File "/opt/local/lib/python2.4/site-packages/setuptools/command/ 
> __init__.py", line 13, in ?
>     from distutils.command.bdist import bdist
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/command/bdist.py", line 29, in ?
>     class bdist (Command):
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/command/bdist.py", line 33, in bdist
>     user_options = [('bdist-base=', 'b',
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/util.py", line 78, in get_platform
>     cfgvars = get_config_vars()
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/sysconfig.py", line 488, in get_config_vars
>     func()
>   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
> python2.4/distutils/sysconfig.py", line 373, in _init_posix
>     raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET  
> mismatch: now "10.5" but "10.4" during configure
>
>
> Harry
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



William Davis
frstanATbellsouthDOTnet
Mac OS X.5.7 Darwin 9.7.0
XQuartz 2.3.3.2 (xorg-server 1.4.2-apple42)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090528/ce79b845/attachment.html>


More information about the macports-users mailing list