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 and comment line 153 in the original file, where function 'gettomeofday' is re-defined. Cheers, Stef

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.

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Robert Kern
On Tue, Sep 1, 2009 at 23:50, Stefano Covino 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 something like t

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 compila

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Robert Kern
On Tue, Sep 1, 2009 at 23:37, Stefano Covino 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 complies to a different

Re: [Numpy-discussion] snow leopard and Numeric

2009-09-01 Thread Stefano Covino
David Warde-Farley 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 th

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 Matthieu Brucher
Use Numpy instead of Numeric (no longer supported I think)? Matthieu 2009/9/1 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] cov

[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 gcc