[SciPy-user] Scipy-0.7.0 build error on Mac OSX 10.5.6

David Cournapeau cournape@gmail....
Wed Apr 8 07:51:23 CDT 2009


Hi Sebastien,

On Wed, Apr 8, 2009 at 7:16 PM, Sebastien Maret
<sebastien.maret@gmail.com> wrote:
> Hello,
>
> I am trying to compile Scipy-0.7.0 on Mac OS 10.5.6 with gcc-4.3.3. I
> have numpy-1.3.0 installed. The compilation fails with the following
> error message:
>
> building 'dfftpack' library
> compiling Fortran sources
> Fortran f77 compiler: /sw/bin/gfortran -Wall -ffixed-form
> -fno-second-underscore -arch i686 -fPIC -O3 -funroll-loops
> Fortran f90 compiler: /sw/bin/gfortran -Wall -fno-second-underscore
> -arch i686 -fPIC -O3 -funroll-loops
> Fortran fix compiler: /sw/bin/gfortran -Wall -ffixed-form
> -fno-second-underscore -Wall -fno-second-underscore -arch i686 -fPIC -O3
> -funroll-loops
> compile options: '-I/sw/lib/python2.6/site-packages/numpy/core/include
> -c'
> gfortran:f77: scipy/fftpack/src/dfftpack/dcosqb.f
> f951: error: unrecognized command line option "-arch"
> f951: error: unrecognized command line option "-arch"
> error: Command "/sw/bin/gfortran -Wall -ffixed-form
> -fno-second-underscore -arch i686 -fPIC -O3 -funroll-loops
> -I/sw/lib/python2.6/site-packages/numpy/core/include -c -c
> scipy/fftpack/src/dfftpack/dcosqb.f -o
> build/temp.macosx-10.5-i386-2.6/scipy/fftpack/src/dfftpack/dcosqb.o"
> failed with exit status 1

You should use a universal capable fortran compiler, like this one:

http://r.research.att.com/tools/

cheers,

David


More information about the SciPy-user mailing list