Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-05 Thread Benjamin Root
On Sun, Dec 5, 2010 at 5:28 AM, Ralf Gommers wrote: > > > On Sun, Dec 5, 2010 at 3:58 PM, Paul Anton Letnes < > paul.anton.let...@gmail.com> wrote: > >> Mabe I am wrong somehow, but in my experience the easiest install of scipy >> is 'port install py26-scipy'. For new users, I do not see why one w

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-05 Thread Ralf Gommers
On Sun, Dec 5, 2010 at 3:58 PM, Paul Anton Letnes < paul.anton.let...@gmail.com> wrote: > Mabe I am wrong somehow, but in my experience the easiest install of scipy > is 'port install py26-scipy'. For new users, I do not see why one would > recommend to build manually from source? Macports can do

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-04 Thread Paul Anton Letnes
Mabe I am wrong somehow, but in my experience the easiest install of scipy is 'port install py26-scipy'. For new users, I do not see why one would recommend to build manually from source? Macports can do it for you, automagically... Paul 4. des.. 2010 15.04 "Ralf Gommers" : On Sat, Dec 4, 2010

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-04 Thread Ralf Gommers
On Sat, Dec 4, 2010 at 9:47 PM, Fabian Pedregosa wrote: > On Sat, Dec 4, 2010 at 10:29 AM, Gael Varoquaux > wrote: > > On Sat, Dec 04, 2010 at 10:25:52AM +0100, Fabian Pedregosa wrote: > >> The correct command is "sudo gcc_select mp-gcc45" which effectively > >> does all the symbolic links for yo

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-04 Thread Fabian Pedregosa
On Sat, Dec 4, 2010 at 10:29 AM, Gael Varoquaux wrote: > On Sat, Dec 04, 2010 at 10:25:52AM +0100, Fabian Pedregosa wrote: >> The correct command is "sudo gcc_select mp-gcc45" which effectively >> does all the symbolic links for you and works like a charm, so please >> ignore my previous patch. >

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-04 Thread Gael Varoquaux
On Sat, Dec 04, 2010 at 10:25:52AM +0100, Fabian Pedregosa wrote: > The correct command is "sudo gcc_select mp-gcc45" which effectively > does all the symbolic links for you and works like a charm, so please > ignore my previous patch. I am not a mac user, so I guess that my opinion is not very ed

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-04 Thread Fabian Pedregosa
> > Correct me if I am wrong here: If you run "(sudo) gcc_select gfortran-mp-XY", > where XY are the version numbers (e.g. 45 for gfortran 4.5), you should get > symbolic links for the selected gcc/gfortran version. I believe that macports > should probably make this clearer, and perhaps automat

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-04 Thread Paul Anton Letnes
On 3. des. 2010, at 16.24, Fabian Pedregosa wrote: > Hi all. > > Macports installs gfortran as part of the gcc package, but names it > gfortran-mp-$version, without providing a symbolic link to a default > gcfortran executable, and thus numpy.distutils is unable to find the > right executable. >

Re: [Numpy-discussion] [PATCH] gfortran under macports

2010-12-03 Thread Charles R Harris
Hi Fabian, On Fri, Dec 3, 2010 at 8:24 AM, Fabian Pedregosa wrote: > Hi all. > > Macports installs gfortran as part of the gcc package, but names it > gfortran-mp-$version, without providing a symbolic link to a default > gcfortran executable, and thus numpy.distutils is unable to find the > righ

[Numpy-discussion] [PATCH] gfortran under macports

2010-12-03 Thread Fabian Pedregosa
Hi all. Macports installs gfortran as part of the gcc package, but names it gfortran-mp-$version, without providing a symbolic link to a default gcfortran executable, and thus numpy.distutils is unable to find the right executable. The attached patch very simple, it just extends possible_executab