[SciPy-User] build scipy on os x 10.6, python.org 2.7

Robin robince@gmail....
Tue Oct 5 10:02:44 CDT 2010


Hi,

I am trying to build scipy (current trunk) on OS X 10.6 with
python.org 2.7 (32 bit).

There seems to be a problem that it is trying to build -arch ppc64 (log below).

Is there a way to disable this architecture (and even x86_64) so the
build will complete?

gcc-4.0: build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.c
gcc-4.0: scipy/fftpack/src/zfftnd.c
gcc-4.0: scipy/fftpack/src/zrfft.c
gcc-4.0: scipy/fftpack/src/drfft.c
gcc-4.0: build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.c
gcc-4.0: scipy/fftpack/src/zfft.c
gcc-4.0: build/src.macosx-10.3-fat-2.7/fortranobject.c
/usr/local/bin/gfortran -Wall -arch ppc -arch i686 -arch x86_64 -arch
ppc64 -Wall -undefined dynamic_lookup -bundle
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfft.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/drfft.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zrfft.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfftnd.o
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.o
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/fortranobject.o
-Lbuild/temp.macosx-10.3-fat-2.7 -ldfftpack -lfftpack -lgfortran -o
build/lib.macosx-10.3-fat-2.7/scipy/fftpack/_fftpack.so
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.o,
missing required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfft.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/drfft.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zrfft.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfftnd.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.o,
missing required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/fortranobject.o,
missing required architecture x86_64 in file
ld: warning: in /usr/lib/bundle1.o, missing required architecture ppc64 in file
ld: warning: object file compiled with -mlong-branch which is no
longer needed. To remove this warning, recompile without
-mlong-branch: /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.3/ppc64/crt3.o
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.o,
missing required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfft.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/drfft.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zrfft.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfftnd.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.o,
missing required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/fortranobject.o,
missing required architecture ppc64 in file
ld: warning: in /usr/lib/libSystemStubs.a, missing required
architecture ppc64 in file
ld: warning: in /usr/lib/libSystem.dylib, missing required
architecture ppc64 in file
ld: in /usr/lib/libSystem.B.dylib, missing required architecture ppc64
in file for architecture ppc64
collect2: ld returned 1 exit status
ld: warning: object file compiled with -mlong-branch which is no
longer needed. To remove this warning, recompile without
-mlong-branch: /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.3/crt3.o
lipo: can't open input file: /var/tmp//cccSSCfO.out (No such file or directory)
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.o,
missing required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfft.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/drfft.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zrfft.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfftnd.o, missing
required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.o,
missing required architecture x86_64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/fortranobject.o,
missing required architecture x86_64 in file
ld: warning: in /usr/lib/bundle1.o, missing required architecture ppc64 in file
ld: warning: object file compiled with -mlong-branch which is no
longer needed. To remove this warning, recompile without
-mlong-branch: /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.3/ppc64/crt3.o
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.o,
missing required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfft.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/drfft.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zrfft.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfftnd.o, missing
required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.o,
missing required architecture ppc64 in file
ld: warning: in
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/fortranobject.o,
missing required architecture ppc64 in file
ld: warning: in /usr/lib/libSystemStubs.a, missing required
architecture ppc64 in file
ld: warning: in /usr/lib/libSystem.dylib, missing required
architecture ppc64 in file
ld: in /usr/lib/libSystem.B.dylib, missing required architecture ppc64
in file for architecture ppc64
collect2: ld returned 1 exit status
ld: warning: object file compiled with -mlong-branch which is no
longer needed. To remove this warning, recompile without
-mlong-branch: /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.3/crt3.o
lipo: can't open input file: /var/tmp//cccSSCfO.out (No such file or directory)
error: Command "/usr/local/bin/gfortran -Wall -arch ppc -arch i686
-arch x86_64 -arch ppc64 -Wall -undefined dynamic_lookup -bundle
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/_fftpackmodule.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfft.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/drfft.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zrfft.o
build/temp.macosx-10.3-fat-2.7/scipy/fftpack/src/zfftnd.o
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/scipy/fftpack/src/dct.o
build/temp.macosx-10.3-fat-2.7/build/src.macosx-10.3-fat-2.7/fortranobject.o
-Lbuild/temp.macosx-10.3-fat-2.7 -ldfftpack -lfftpack -lgfortran -o
build/lib.macosx-10.3-fat-2.7/scipy/fftpack/_fftpack.so" failed with
exit status 1

Cheers

Robin


More information about the SciPy-User mailing list