Re: [Numpy-discussion] ANN: NumPy 1.6.0 [Problems on OS X w/ Python 2.6 and XCode 4]

2011-05-16 Thread Ralf Gommers
On Mon, May 16, 2011 at 8:30 PM, Andrew Jaffe  wrote:

> On 16/05/2011 18:45, Ralf Gommers wrote:
> >
> > On Mon, May 16, 2011 at 12:41 PM, Andrew Jaffe  > > 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


Re: [Numpy-discussion] ANN: NumPy 1.6.0 [Problems on OS X w/ Python 2.6 and XCode 4]

2011-05-16 Thread Andrew Jaffe
On 16/05/2011 18:45, Ralf Gommers wrote:
>
> On Mon, May 16, 2011 at 12:41 PM, Andrew Jaffe  > 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? (Does 64-bit 2.7 not 
care about PPC?)

Yours,

Andrew


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] ANN: NumPy 1.6.0 [Problems on OS X w/ Python 2.6 and XCode 4]

2011-05-16 Thread Ralf Gommers
On Mon, May 16, 2011 at 12:41 PM, Andrew Jaffe  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.

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


Re: [Numpy-discussion] ANN: NumPy 1.6.0 [Problems on OS X w/ Python 2.6 and XCode 4]

2011-05-16 Thread Andrew Jaffe
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.

/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

If I explicitly set CFLAGS and LDFLAGS to have "-arch i386 -arch x86_64" 
in them as appropriate, it seems to work...

Is this a correctable bug in the packaging, or just a quirk of my setup?

Andrew


On 15/05/2011 17:39, Ralf Gommers wrote:
>
>
> On Sat, May 14, 2011 at 3:09 PM, Charles R Harris
> mailto:charlesr.har...@gmail.com>> wrote:
>
>
>
> On Sat, May 14, 2011 at 3:54 AM, Ralf Gommers
> mailto:ralf.gomm...@googlemail.com>>
> wrote:
>
> Hi,
>
> I am pleased to announce the release of NumPy 1.6.0. This
> release is the result of 9 months of work, and includes many new
> features, performance improvements and bug fixes. Some
> highlights are:
>
>- Re-introduction of datetime dtype support to deal with
> dates in arrays.
>- A new 16-bit floating point type.
>- A new iterator, which improves performance of many functions.
>
>
> The link is http://sourceforge.net/projects/numpy/files/NumPy/1.6.0/
>
> The OS X binaries are also up now.
>
> Ralf
>
>
>
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion