[Numpy-discussion] [PATCH] gfortran under macports

Fabian Pedregosa fabian.pedregosa at inria.fr
Sat Dec 4 08:47:48 EST 2010


On Sat, Dec 4, 2010 at 10:29 AM, Gael Varoquaux
<gael.varoquaux at normalesup.org> 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.
>
> I am not a mac user, so I guess that my opinion is not very educated, but
> isn't your patch still useful: test if 'gcc' exists, and if not fallback
> to your patch, so that it still works for the clueless user?

Indeed, having scipy build out of the box would be nice, but it's not
for me to decide if numpy.distutils should overcome these limitations
in macports ...

On the other hand, as installing on macports is not that trivial, I
strongly feel that a subsection 'Macports' should be added to scipy's
INSTALL.txt file, where it details needed packages, the gcc_select
trick and options needed in site.cfg for umfpack. I'll gladly provide
a patch for that if people are OK.

Fabian.

>
> My 2 cents,
>
> Gaël
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list