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 &g

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

[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