[Numpy-discussion] Mac OSX 4-way universal

Robert Kern robert.kern@gmail....
Wed Aug 13 16:20:17 CDT 2008

On Wed, Aug 13, 2008 at 15:26, Chris Kees
<christopher.e.kees@erdc.usace.army.mil> wrote:
> Here's a bit more. I tried sending the redirected output as attachments but
> it got held up by the list server.

I beg your pardon, then. You can send me the full logs in private email.

> building extension "numpy.lib._compiled_base" sources
> building extension "numpy.numarray._capi" sources
> building extension "numpy.fft.fftpack_lite" sources
> building extension "numpy.linalg.lapack_lite" sources
>  adding 'numpy/linalg/lapack_litemodule.c' to sources.
>  adding 'numpy/linalg/python_xerbla.c' to sources.
> building extension "numpy.random.mtrand" sources
> customize NAGFCompiler
> customize AbsoftFCompiler
> customize IBMFCompiler
> customize IntelFCompiler
> customize GnuFCompiler
> customize Gnu95FCompiler
> customize Gnu95FCompiler
> customize Gnu95FCompiler using config
> C compiler: gcc -arch i386 -arch ppc -arch ppc64 -arch x86_64 -isysroot /
> -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -f
> wrapv -O3 -Wall -Wstrict-prototypes
> compile options: '-Inumpy/core/src -Inumpy/core/include
> -I/Library/Frameworks/Python64.framework/Versions/2.6/include/python2.6 -I
> /Library/Frameworks/Python64.framework/Versions/2.6/include/python2.6 -c'
> gcc: _configtest.c
> gcc _configtest.o -o _configtest
> _configtest
> failure.
> removing: _configtest.c _configtest.o _configtest
> building data_files sources
> running build_py
> copying build/src.macosx-10.3-i386-2.6/numpy/__config__.py ->
> build/lib.macosx-10.5-universal-2.6/numpy
> copying build/src.macosx-10.3-i386-2.6/numpy/distutils/__config__.py ->
> build/lib.macosx-10.5-universal-2.6/numpy/distutils
> running build_ext
> customize UnixCCompiler
> customize UnixCCompiler using build_ext
> running build_scripts
>  adding 'build/scripts.macosx-10.5-universal-2.6/f2py64-32' to scripts
> error: Can't install when cross-compiling

Hmm. Odd. I can't find the string "Can't install when cross-compiling"
anywhere in the numpy or Python sources. Can you try again with the
environment variable DISTUTILS_DEBUG=1 set?

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco

More information about the Numpy-discussion mailing list