On Mon, May 16, 2011 at 8:30 PM, Andrew Jaffe <a.h.ja...@gmail.com> wrote:

> On 16/05/2011 18:45, Ralf Gommers wrote:
> >
> > On Mon, May 16, 2011 at 12:41 PM, Andrew Jaffe <a.h.ja...@gmail.com
> > <mailto:a.h.ja...@gmail.com>> wrote:
> >
> >     Dear all,
> >
> >     I have OSX 10.6.7, XCode 4, and Python.org python 2.6.6 and 2.7.1,
> where
> >     2.7 is 64-bit.
> >
> >     With 2.7, easy_install successfully compiles and installs the
> package,
> >     both over the web and with an explicit download.
> >
> >     With 2.6, there seems to be a problem with attempting to compile the
> PPC
> >     architecture, seen in this error.
> >
> > Please just use "python setup.py install", easy_install is very
> unreliable.
> >
> >
> >     /usr/libexec/gcc/powerpc-apple-darwin10/4.0.1/as: assembler
> >     (/usr/bin/../libexec/gcc/darwin/ppc/as or
> >     /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not
> >     installed
> >
> > XCode 4 does not support PPC, use version 3.2. Then it should work as
> > advertized.
>
> Aha, thanks!
>
> But they're both installed, but how do force this?


You have to figure out where the right compiler is located. Then try "export
CC=/path/to/compiler". Or if you have MacPorts installed you can use its
gcc_select. Or google for another solution.


> (Does 64-bit 2.7 not care about PPC?)
>

No, it's an Intel 32 + 64-bit bundle.

Cheers,
Ralf
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to