[Pythonmac-SIG] Problems compiling extensions under Jaguar

Jim Tittsler jwt@qth.ath.cx
Mon, 16 Dec 2002 13:15:39 +0900


On Sun, Dec 15, 2002 at 06:50:59PM -0500, Tim Lahey wrote:
> I'm using the python 2.2 that comes with Jaguar and I've notices that
> it is trying to build both i386 and ppc, when I'm only interested in
> building for OS X. How do I tell python to only build ppc ?
> I get a number of linking errors since i386 isn't found.

I think the distributed /usr/lib/python2.2/config/Makefile has
a spurious "-arch i386" in it.  Try removing that using sudo
and your favorite editor.