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

Edward Hartley ed_hartley at mac.com
Fri Aug 31 14:17:23 CEST 2007


>
> From: cygnusxlist at mac.com
> Date: 30 August 2007 23:26:46 BDT
> To: pythonmac-sig at python.org
> Subject: [Pythonmac-SIG] Strange failure on 'python setup.py build'  
> after 10.4.10 update
>
>
> 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.
>
I would check that the default python is in fact 2.4 or whatever  
version you think it should be and not an earlier version.
You may have had an Apple build of python included in this update.
This would overwrite any symbolic links to the 2.4 install you made  
after the original OS install.
Which would explain why you had to change the $PATH
Certainly  doing  a full install of XCode will cause the default  
python to revert to 2.3

Best
Ed
> Is this a known issue & I'm behind the times or is this new?
>
> 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
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20070831/74c9fc1e/attachment.htm 


More information about the Pythonmac-SIG mailing list