[SciPy-dev] New Scipy build issue

Christopher Hanley chanley@stsci....
Thu Apr 2 19:08:12 CDT 2009


Robert Kern wrote:
> On Thu, Apr 2, 2009 at 18:39, Christopher Hanley <chanley@stsci.edu> wrote:
>> Hi,
>>
>> Recently when trying to build scipy from svn I get the following build
>> error:
>>
>> creating build/temp.macosx-10.3-i386-2.5
>> creating build/temp.macosx-10.3-i386-2.5/scipy
>> creating build/temp.macosx-10.3-i386-2.5/scipy/fftpack
>> creating build/temp.macosx-10.3-i386-2.5/scipy/fftpack/src
>> creating build/temp.macosx-10.3-i386-2.5/scipy/fftpack/src/dfftpack
>> compile options:
>> '-I/Users/chanley/dev/site-packages/lib/python/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 "gfortran -Wall -ffixed-form -fno-second-underscore -arch
>> i686 -fPIC -O3 -funroll-loops
>> -I/Users/chanley/dev/site-packages/lib/python/numpy/core/include -c -c
>> scipy/fftpack/src/dfftpack/dcosqb.f -o
>> build/temp.macosx-10.3-i386-2.5/scipy/fftpack/src/dfftpack/dcosqb.o"
>> failed with exit status 1
>>
>>
>> I'm using gfortran for the build on my Mac OS X 10.5.6 system.  Here is
>> the gfortran info:
>>
>> [redcedar:~/dev/scipy] chanley% gfortran -v
>> Using built-in specs.
>> Target: i686-apple-darwin9
>> Configured with: ../gcc-4.2.2/configure --prefix=/sw
>> --prefix=/sw/lib/gcc4.2 --mandir=/sw/share/man --infodir=/sw/share/info
>> --enable-languages=c,c++,fortran,objc,java --with-arch=nocona
>> --with-tune=generic --host=i686-apple-darwin9 --with-gmp=/sw
>> --with-libiconv-prefix=/sw --with-system-zlib
>> --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
>> Thread model: posix
>> gcc version 4.2.2
>>
>> I'm using Python 2.5.1 and the head of the numpy svn trunk.  I haven't
>> changed my site.cfg file or updated any libraries on my system.  Any
>> ideas what I might need to change?
> 
> Is that Fink's gfortran? I recommend *only* using the gfortran binaries here:
> 
>   http://r.research.att.com/tools/
> 

That worked.  You rock as usual.

Thanks,
Chris


-- 
Christopher Hanley
Senior Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338


More information about the Scipy-dev mailing list