[SciPy-User] Problems building SciPy on OS X due to ppc64 issues
Dr. David Kirkby
david.kirkby@onetel....
Fri Oct 8 13:14:25 CDT 2010
Numpy and SciPy are used in the Sage project. A ticket has been opened to update
Numpy to 1.5.0 and SciPy to 0.8.
We hit a problem with Numpy and Solaris, though the number developers have now
committed a fix for that issue.
However, we have an issue with people being unable to build on OS X. I
personally do not have an OS X machine, but there's a log of a failed build here:
http://sage.math.washington.edu/home/palmieri/misc/scipy-0.8.log
For reasons I think are rather stupid, we use a script sage_fortran which is the
Fortran compiler, so references below to
/Applications/sage_builds/numpy/sage-4.6.alpha2/local/bin/sage_fortran
is actually just a link to 'gfortran'
It seems to resolve around the error message about two files "...have the same
architectures (ppc64) and can't be in the same fat output file
See below.
creating build/temp.macosx-10.6-i386-2.6/scipy/fftpack
creating build/temp.macosx-10.6-i386-2.6/scipy/fftpack/src
creating build/temp.macosx-10.6-i386-2.6/scipy/fftpack/src/dfftpack
compile options:
'-I/Applications/sage_builds/numpy/sage-4.6.alpha2/local/lib/python2.6/site-packages/numpy/core/include
-c'
sage_fortran:f77: scipy/fftpack/src/dfftpack/dcosqb.f
lipo: /var/folders/JV/JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-//ccHZoMkv.out and
/var/folders/JV/JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-//ccpHWmlC.out have the same
architectures (ppc64) and can't be in the same fat output file
lipo: /var/folders/JV/JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-//ccHZoMkv.out and
/var/folders/JV/JVYCpshdHd4FFoThuUgD8k+++TI/-Tmp-//ccpHWmlC.out have the same
architectures (ppc64) and can't be in the same fat output file
error: Command
"/Applications/sage_builds/numpy/sage-4.6.alpha2/local/bin/sage_fortran -Wall
-ffixed-form -fno-second-underscore -arch ppc -arch x86_64 -arch ppc64 -fPIC -O3
-funroll-loops
-I/Applications/sage_builds/numpy/sage-4.6.alpha2/local/lib/python2.6/site-packages/numpy/core/include
-c -c scipy/fftpack/src/dfftpack/dcosqb.f -o
build/temp.macosx-10.6-i386-2.6/scipy/fftpack/src/dfftpack/dcosqb.o" failed with
exit status 1
Error building scipy.
Googling has thrown up a few possible ideas for how to solve this.
* http://projects.scipy.org/numpy/ticket/1399
* http://article.gmane.org/gmane.comp.python.scientific.devel/14564
* http://article.gmane.org/gmane.comp.python.scientific.user/26314
I now that
http://projects.scipy.org/numpy/ticket/1399
has been open 8 months, is at the highest priority, but does not seem to have
been resolved yet. It is unclear if our problem is the same or not.
Any suggestions?
Dave
More information about the SciPy-User
mailing list