dist problem on osx

Ronald Oussoren oussoren at cistron.nl
Tue Aug 12 11:01:51 EDT 2003


On Monday, 11 August, 2003, at 14:07, M.-A. Lemburg wrote:

> rdack wrote:
>> osx 10.2.6   python 2.2.1 (built in)
>> says my architecture is both 386 and ppc.
>> also has a path with a space in it that won't work.
>> where can i change these settings?
>> --------
>> gcc -arch i386 -arch ppc -bundle -flat_namespace -undefined suppress
>> build/temp.darwin-6.6-Power
>> Macintosh-2.2/mx/DateTime/mxDateTime/mxDateTime/mxDateTime.o
>> -L/usr/local/lib -L/usr/lib -o build/lib.darwin-6.6-Power
>> Macintosh-2.2/mx/DateTime/mxDateTime/mxDateTime.so
>> ---------------
>
> This is a bug in distutils. It's fixed in Python 2.2.3.

The two architectures are not a bug in distutils, but a bug in the way 
Apple build python. The '-arch i386' is annoying but harmless, if it 
really annoys you you can change /usr/lib/python2.2/config/Makefile. 
Search for '-arch i386' and remove this.

Ronald






More information about the Python-list mailing list