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

Sebastien Maret sebastien.maret@gmail....
Wed Apr 8 05:16:30 CDT 2009


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

Thanks in advance for you help.
Sebastien



More information about the SciPy-user mailing list