This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients eric.araujo, jlindenbaum, ned.deily, ronaldoussoren, santoso.wijaya, tarek
Date 2011-03-25.06:17:06
SpamBayes Score 1.2467032e-05
Marked as misclassified No
Message-id <1301033828.1.0.0566670099393.issue11623@psf.upfronthosting.co.za>
In-reply-to
Content
A similar issue on StackOverflow reminded me that Distutils has support for the ARCHFLAGS environment variable on Mac OS X which you can use when building a C extension module to override the ARCH values that Python was built with.  I don't have Xcode 4 installed yet to verify this but you may be able to work around the problem by something like:

ARCHFLAGS='-arch i386 -arch x86_64' /usr/bin/python2.6 setup.py install

when using the Apple-supplied Python 2.6 or:

ARCHFLAGS='-arch i386' /usr/local/bin/pythonx.x setup.py install

when using a 32-bit-only python.org Python.
History
Date User Action Args
2011-03-25 06:17:08ned.deilysetrecipients: + ned.deily, ronaldoussoren, tarek, eric.araujo, santoso.wijaya, jlindenbaum
2011-03-25 06:17:08ned.deilysetmessageid: <1301033828.1.0.0566670099393.issue11623@psf.upfronthosting.co.za>
2011-03-25 06:17:07ned.deilylinkissue11623 messages
2011-03-25 06:17:06ned.deilycreate