[SciPy-User] problems building scipy on Yosemite.

Matthew Brett matthew.brett at gmail.com
Thu Nov 13 01:14:51 EST 2014


On Wed, Nov 12, 2014 at 9:40 PM, Sturla Molden <sturla.molden at gmail.com> wrote:
> Have you tried the latest official "unofficial" gfortran binaries?
>
> https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
>
>
> Sturla
>
>
> Andrew Nelson <andyfaff at gmail.com> wrote:
>> Dear list,
>> I've updated to Yosemite (clean install) and am having problems building
>> scipy from source (python setup.py build)
>>
>> The complete build log is at:
>> <a
>> href="https://gist.github.com/andyfaff/5a433d0585e8dae1dfc2">https://gist.github.com/andyfaff/5a433d0585e8dae1dfc2</a>
>>
>> $gfortran --version
>> GNU Fortran (GCC) 4.2.3
>> $gcc --version
>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
>> Target: x86_64-apple-darwin14.0.0
>> Thread model: posix
>> $echo FFLAGS
>> -ff2c
>>
>> gfortran was from <a
>> href="http://cran.r-project.org/bin/macosx/tools/.">http://cran.r-project.org/bin/macosx/tools/.</a>
>>
>> Is anyone able to give me any tips as to what I'm doing wrong?
>>
>> cheers,
>> Andrew

Scipy builds OK for me with the cran gfortran, current trunk, numpy
1.9.1 via pip install, and

$ export CC=clang
$ export CXX=clang++
$ export FFLAGS=-ff2c

Can you give more detail about your system?  Numpy, scipy version?

Cheers,

Matthew



More information about the SciPy-User mailing list