installing py27-scipy on Mac OS 10.7
Scott Webster
sewebster at gmail.com
Fri Oct 28 12:29:21 PDT 2011
The way macports is set up is to build the fortran compiler from
source, because apple does not include one. gcc takes a long time to
compile. Keep waiting would be my recommendation...
Scott
On Fri, Oct 28, 2011 at 12:26 PM, Joe VanAndel <joe.vanandel at gmail.com> wrote:
> Thanks for the explanation about needing a fortran compiler.
>
> macports states that it is building gcc44, and after several hours, I
> don't see any real progress . I have two 'f951' tasks running, each
> consuming 2.8GB of real memory (and as much as 32GB of virtual).
>
> I've got 12GB of RAM, but my 2 x 8Ghz Dual-core Xeon Mac Pro is almost
> unusable while this build is running.
>
> The instructions for building scipy for Mac OS 10.7 refer to
> installing gfortran from
> http://r.research.att.com/gfortran-lion-5666-3.pkg . Is there any way
> to build scipy in macports using that compiler?
>
> It looks like the scipy dependencies assumes that macports needs to
> build a fortran compiler from source.
>
> On Fri, Oct 28, 2011 at 9:47 AM, Daniel J. Luke <dluke at geeklair.net> wrote:
>> On Oct 28, 2011, at 11:16 AM, Joe VanAndel wrote:
>>> Any idea why installing py27-scipy insists on building gcc44?
>>
>>
>> it doesn't:
>>
>> port variants py26-scipy
>> py26-scipy has the variants:
>> atlas: Use MacPorts ATLAS libraries
>> gcc42: Use gcc 4.2 tool chain for building
>> * conflicts with gcc43 gcc44 gcc45
>> gcc43: Use gcc 4.3 tool chain for building
>> * conflicts with gcc42 gcc44 gcc45
>> [+]gcc44: Use gfortran-mp-4.4 as fortran compiler
>> * conflicts with gcc42 gcc43 gcc45
>> gcc45: Use gfortran-mp-4.5 as fortran compiler
>> * conflicts with gcc42 gcc43 gcc44
>>
>> ... but you probably mean why does it build a gcc at all?
>>
>> Probably because it requires a fortran compiler to build (http://www.scipy.org/Installing_SciPy/BuildingGeneral) and Xcode doesn't ship with one.
>>
>> --
>> Daniel J. Luke
>> +========================================================+
>> | *---------------- dluke at geeklair.net ----------------* |
>> | *-------------- http://www.geeklair.net -------------* |
>> +========================================================+
>> | Opinions expressed are mine and do not necessarily |
>> | reflect the opinions of my employer. |
>> +========================================================+
>>
>>
>>
>>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
More information about the macports-users
mailing list