On 2008-08-13, David Cournapeau <[EMAIL PROTECTED]> wrote: > On Wed, Aug 13, 2008 at 4:20 PM, Robert Kern <[EMAIL PROTECTED]> wrote: >> >> 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? > > You can find it in python svn: the message seems python 2.6 specific.
Okay, it looks like this happens when distutils.util.get_platform() and the build command's plat_name are different. Chris, can you do the following and show me the output? $ python setup.py build --help ... $ python -c "from distutils import util;print util.get_platform()" ... Probably a workaround is to do $ python setup.py build --plat-name=... install where ... is whatever the output of the second command above gives. -- 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 _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
