Re: [Numpy-discussion] Snow Leopard

2010-03-01 Thread Charles سمير Doutriaux
Thx David, Maybe i will have to try that as a temporary fix. But in the long run i do want to build my own Python. C. On Feb 26, 2010, at 4:59 PM, David Warde-Farley wrote: On 26-Feb-10, at 7:43 PM, Charles سمير Doutriaux wrote: Any idea on how to build a pure 32bit numpy on snow leopard?

[Numpy-discussion] Snow Leopard Py-2.7a3 _init_posix issue; IO test segfault

2010-03-01 Thread Tom Loredo
Bruce Southey wrote: On Fri, Feb 26, 2010 at 6:59 PM, David Warde-Farley d...@cs.toronto.edu wrote: On 26-Feb-10, at 7:43 PM, Charles #1587;#1605;#1610;#1585; Doutriaux wrote: Any idea on how to build a pure 32bit numpy on snow leopard? If I'm not mistaken you'll probably want to build

Re: [Numpy-discussion] Snow Leopard Py-2.7a3 _init_posix issue; IO test segfault

2010-03-01 Thread Bruce Southey
On Mon, Mar 1, 2010 at 2:04 PM, Tom Loredo lor...@astro.cornell.edu wrote: Bruce Southey wrote: On Fri, Feb 26, 2010 at 6:59 PM, David Warde-Farley d...@cs.toronto.edu wrote: On 26-Feb-10, at 7:43 PM, Charles #1587;#1605;#1610;#1585; Doutriaux wrote: Any idea on how to build a pure

[Numpy-discussion] Snow Leopard

2010-02-26 Thread Charles سمير Doutriaux
Hi there, I'm having a lot of trouble on Snow Leopard. I'm trying to build a 32bit only version of our system Turns out I had to use python 2.7a3 in order to get Python --universalsdk to work But now numpy fails to build as well... First because of the: _old_init_posix =

Re: [Numpy-discussion] Snow Leopard

2010-02-26 Thread David Warde-Farley
On 26-Feb-10, at 7:43 PM, Charles سمير Doutriaux wrote: Any idea on how to build a pure 32bit numpy on snow leopard? If I'm not mistaken you'll probably want to build against the Python.org Python rather than the wacky version that comes installed on the system. The Python.org installer is

Re: [Numpy-discussion] Snow Leopard

2010-02-26 Thread Bruce Southey
On Fri, Feb 26, 2010 at 6:59 PM, David Warde-Farley d...@cs.toronto.edu wrote: On 26-Feb-10, at 7:43 PM, Charles سمير Doutriaux wrote: Any idea on how to build a pure 32bit numpy on snow leopard? If I'm not mistaken you'll probably want to build against the Python.org Python rather than the

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-04 Thread Chad Netzer
On Thu, Sep 3, 2009 at 4:02 PM, Wolfgang Kerzendorfwkerzend...@googlemail.com wrote: my version of python is the one that comes with snow leopard: 2.6.1 hope that helps Huh? I upgraded to Snow Leopard over my Leopard system (i.e not a fresh install), and my default is python2.5: $ python

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-04 Thread David Cournapeau
Chad Netzer wrote: On Thu, Sep 3, 2009 at 4:02 PM, Wolfgang Kerzendorfwkerzend...@googlemail.com wrote: my version of python is the one that comes with snow leopard: 2.6.1 hope that helps Huh? I upgraded to Snow Leopard over my Leopard system (i.e not a fresh install), and my

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-04 Thread Wolfgang Kerzendorf
Dear all, A recompile of matplotlib (Svn) did the trick. Thanks for the help. I had issues with building scipy and numpy and Robert Kern helped me a lot there. I think it would be useful in general if numpy and scipy recommend compilers for OS X (perhaps on the download page for numpy and

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-03 Thread Stefano Covino
Apparently, I have solved the problem. I say apparently meaning that at least it compiles and installs smoothly. In file ranf.c (Packages/RNG/Src/ranf.c) insert at the beginning #include time.h and comment line 153 in the original file, where function 'gettomeofday' is re-defined. Cheers,

[Numpy-discussion] snow leopard issues with numpy

2009-09-03 Thread Wolfgang Kerzendorf
I just installed numpy and scipy (both svn) on OS X 10.6 and just got scipy to work with Robert Kern's help. Playing around with numpy I got the following segfault: http://pastebin.com/m35220dbf I hope someone can make sense of it. Thanks in advance Wolfgang

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-03 Thread Charles R Harris
On Thu, Sep 3, 2009 at 10:02 AM, Wolfgang Kerzendorf wkerzend...@googlemail.com wrote: I just installed numpy and scipy (both svn) on OS X 10.6 and just got scipy to work with Robert Kern's help. Playing around with numpy I got the following segfault: http://pastebin.com/m35220dbf I hope

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-03 Thread Robert Kern
On Thu, Sep 3, 2009 at 11:13, Charles R Harrischarlesr.har...@gmail.com wrote: On Thu, Sep 3, 2009 at 10:02 AM, Wolfgang Kerzendorf wkerzend...@googlemail.com wrote: I just installed numpy and scipy (both svn) on OS X 10.6 and just got scipy to work with Robert Kern's help. Playing around

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-03 Thread Charles R Harris
On Thu, Sep 3, 2009 at 10:39 AM, Robert Kern robert.k...@gmail.com wrote: On Thu, Sep 3, 2009 at 11:13, Charles R Harrischarlesr.har...@gmail.com wrote: On Thu, Sep 3, 2009 at 10:02 AM, Wolfgang Kerzendorf wkerzend...@googlemail.com wrote: I just installed numpy and scipy (both svn)

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-03 Thread Wolfgang Kerzendorf
my version of python is the one that comes with snow leopard: 2.6.1 hope that helps On 03/09/2009, at 18:13 , Charles R Harris wrote: On Thu, Sep 3, 2009 at 10:02 AM, Wolfgang Kerzendorf wkerzend...@googlemail.com wrote: I just installed numpy and scipy (both svn) on OS X 10.6 and just

Re: [Numpy-discussion] snow leopard issues with numpy

2009-09-03 Thread David Cournapeau
On Fri, Sep 4, 2009 at 1:49 AM, Charles R Harrischarlesr.har...@gmail.com wrote: On Thu, Sep 3, 2009 at 10:39 AM, Robert Kern robert.k...@gmail.com wrote: On Thu, Sep 3, 2009 at 11:13, Charles R Harrischarlesr.har...@gmail.com wrote: On Thu, Sep 3, 2009 at 10:02 AM, Wolfgang Kerzendorf

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-02 Thread Stefano Covino
Is there a way to constrain an old-style compilation just to make a code work? I have similar problems with other old pieces of code. Use -arch i686 in the CFLAGS and LDFLAGS. I think. Unfortunately, it seems not to have any effect. I'll try something else. Thanks anyway.

[Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Stefano Covino
Hello everybody, I have just upgraded my Mac laptop to snow leopard. However, I can no more compile Numeric 24.2. Here is my output: [MacBook-Pro-di-Stefano:~/Pacchetti/Numeric-24.2] covino% python setup.py build running build running build_py running build_ext building 'RNG.RNG' extension

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Matthieu Brucher
Use Numpy instead of Numeric (no longer supported I think)? Matthieu 2009/9/1 Stefano Covino stefano_cov...@yahoo.it: Hello everybody, I have just upgraded my Mac laptop to snow leopard. However, I can no more compile Numeric 24.2. Here is my output:

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread David Warde-Farley
On 1-Sep-09, at 4:08 AM, Stefano Covino wrote: I have just upgraded my Mac laptop to snow leopard. However, I can no more compile Numeric 24.2. Do you really need Numeric? NumPy provides all of the functionality of Numeric and then some. David ___

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Stefano Covino
David Warde-Farley dwf at cs.toronto.edu writes: On 1-Sep-09, at 4:08 AM, Stefano Covino wrote: I have just upgraded my Mac laptop to snow leopard. However, I can no more compile Numeric 24.2. Do you really need Numeric? NumPy provides all of the functionality of Numeric and then

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Robert Kern
On Tue, Sep 1, 2009 at 23:37, Stefano Covinostefano_cov...@yahoo.it wrote: of course you are all right. NumPy is much better. Essentially I was just curious to understand what it is wrong given that Numeric compiled smoothly with the previous Mac OSX version. The 64-bit version of OS X

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Stefano Covino
The 64-bit version of OS X complies to a different UNIX standard than the 32-bit version. gettimeofday(), which is being used to seed the random number generator, is one of the affected functions. Thanks. I guessed something like this. Is there a way to constrain an old-style compilation

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Robert Kern
On Tue, Sep 1, 2009 at 23:50, Stefano Covinostefano_cov...@yahoo.it wrote: The 64-bit version of OS X complies to a different UNIX standard than the 32-bit version. gettimeofday(), which is being used to seed the random number generator, is one of the affected functions. Thanks. I guessed