umath import error for Numpy builds on OSX 10.6

Robert Kern robert.kern at gmail.com
Fri Dec 11 23:44:43 EST 2009


On 2009-12-11 20:55 PM, hardcoreUFO wrote:
> On Dec 11, 5:47 pm, Robert Kern<robert.k... at gmail.com>  wrote:
>
>> Right, when the -lnpymath stuff got checked in. Looking at the build log you
>> posted to numpy-discusson, it does appear that the $LDFLAGS is obliterating the
>> intended flags. Please post a build log without setting those flags to
>> numpy-discussion. A correct link line should look something like this:
>>
>> gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle
>> -undefined dynamic_lookup
>> build/temp.macosx-10.3-i386-2.5/numpy/core/src/umath/umathmodule_onefile.o
>> -Lbuild/temp.macosx-10.3-i386-2.5 -lnpymath -o
>> build/lib.macosx-10.3-i386-2.5/numpy/core/umath.so
>
> Thanks Robert,
>
> Here is the log from a build without the LDFLAGS set.  Having a quick
> look, all I can see are a few warnings and a CAPI version mismatch
> message. Any insight most appreciated. The build still gives the same
> umath error.

On numpy-discussion, please. But first, start with a clean checkout. I think you 
have stale files.

-- 
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 Python-list mailing list