dist problem on osx

M.-A. Lemburg mal at lemburg.com
Tue Aug 12 11:26:19 EDT 2003


Ronald Oussoren wrote:
> 
> 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.

I was referring to the spaces in the platform string generated
by distutils. The -arch i386 look funny in there... hmm, perhaps
we'll get Mac OS X / i386 sometime soon ?! ;-)

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Aug 12 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________






More information about the Python-list mailing list