[SciPy-User] Problem installing scipy on 10.6.4, python 2.7

Alex Luso tapadamocho at yahoo.com
Fri Oct 15 21:55:23 EDT 2010


Thanks, that worked. Cheers, Alex



________________________________
From: Ralf Gommers <ralf.gommers at googlemail.com>
To: SciPy Users List <scipy-user at scipy.org>
Sent: Fri, October 15, 2010 11:32:37 AM
Subject: Re: [SciPy-User] Problem installing scipy on 10.6.4, python 2.7




On Fri, Oct 15, 2010 at 11:25 PM, Alex Luso <tapadamocho at yahoo.com> wrote:


>  Hi,
>
>  I am trying to install Scipy from source on Python 2.7, Mac OS X 10.6.4
>
>  Despite following the instructions on the install page (i.e. use gcc++-4.0, 
>etc, gfortran install), the install fails as follows:
>
>-- snip --
>many warnings
>...
>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/folders/4F/4F3fgpofFGSlvDrh+OmSHE+++TI/-Tmp-//cco4e1PE.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.5-fat3-2.7/build/src.macosx-10.5-fat3-2.7/scipy/fftpack/_fftpackmodule.o
> build/temp.macosx-10.5-fat3-2.7/scipy/fftpack/src/zfft.o 
>build/temp.macosx-10.5-fat3-2.7/scipy/fftpack/src/drfft.o 
>build/temp.macosx-10.5-fat3-2.7/scipy/fftpack/src/zrfft.o 
>build/temp.macosx-10.5-fat3-2.7/scipy/fftpack/src/zfftnd.o 
>build/temp.macosx-10.5-fat3-2.7/build/src.macosx-10.5-fat3-2.7/scipy/fftpack/src/dct.o
> build/temp.macosx-10.5-fat3-2.7/build/src.macosx-10.5-fat3-2.7/fortranobject.o 
>-Lbuild/temp.macosx-10.5-fat3-2.7 -ldfftpack -lfftpack -lgfortran -o 
>build/lib.macosx-10.5-fat3-2.7/scipy/fftpack/_fftpack.so" failed with exit 
>status 1
>-- snip --
>
>  As a test, I tried to manually re-run that last offending command (the 
>gfortran one) after manually removing -arch ppc64, no error is reported. Is that 
>a clue?
>

It is, see http://projects.scipy.org/numpy/ticket/1399. The fix at 
http://github.com/matthew-brett/numpy/compare/numpy:master...farchs-from-c 
should fix this problem.

Cheers,
Ralf



>Info:
>Mac OS 10.6.4
>I am using Python binary from python.org (the 64-bit version of it):
>$ python --version
>Python 2.7
>
>$ gcc --version
>i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
>
>$ gfortran --version
>GNU Fortran (GCC) 4.2.3
>
>
>
>
>_______________________________________________
>SciPy-User mailing list
>SciPy-User at scipy.org
>http://mail.scipy.org/mailman/listinfo/scipy-user
>
>



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20101015/fcb5b614/attachment.html>


More information about the SciPy-User mailing list