[Pythonmac-SIG] Strange failure on 'python setup.py build' after 10.4.10 update

Ronald Oussoren ronaldoussoren at mac.com
Fri Aug 31 08:27:13 CEST 2007


On 31 Aug, 2007, at 0:26, cygnusxlist at mac.com wrote:

> My G5 at work has started spitting out this message when I try to
> build a python package from source.  The previous week I completed
> many builds with no problem.  I did similar builds on my home system
> with no problem.
>
> The major change at work was I finally installed the 10.4.10 update
> (and suddenly had to change my $PATH to get python 2.4 back!) and my
> home system is still at 10.4.9.
>
> Is this a known issue & I'm behind the times or is this new?

I haven't seen this before.  Where did you have to change your path to  
to get python 2.4 back? AFAIK 10.4.x ships with Python 2.3, any other  
version was installed manually and hence requires changes to $PATH  
anyway.

Is MACOSX_DEPLOYMENT_TARGET in your environment? If so, try unsetting  
it before building extensions.

Ronald


>
>
> Thanks,
> Tom
>
> wise 9% python setup.py build
> Traceback (most recent call last):
>   File “setup.py“, line 693, in ?
>     classifiers = [
>   File “/Library/Frameworks/Python.framework/Versions/2.4//lib/
> python2.4/distutils/core.py“, line 123, in setup
>     dist.parse_config_files()
>   File “/Library/Frameworks/Python.framework/Versions/2.4//lib/
> python2.4/distutils/dist.py“, line 339, in parse_config_files
>     filenames = self.find_config_files()
>   File “/Library/Frameworks/Python.framework/Versions/2.4//lib/
> python2.4/distutils/dist.py“, line 302, in find_config_files
>     check_environ()
>   File “/Library/Frameworks/Python.framework/Versions/2.4//lib/
> python2.4/distutils/util.py“, line 209, in check_environ
>     os.environ['PLAT'] = get_platform()
>   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.4“ but “10.3“ during configure
>
> --
> W.T. Bridgman, Ph.D.
> Physics & Astronomy
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list