[Numpy-discussion] setup.py does not use the correct library

Robert Kern robert.kern@gmail....
Mon Sep 28 19:38:40 CDT 2009


On Mon, Sep 28, 2009 at 19:35, Peng Yu <pengyu.ut@gmail.com> wrote:
> On Mon, Sep 28, 2009 at 4:44 PM, Robert Kern <robert.kern@gmail.com> wrote:
>> On Mon, Sep 28, 2009 at 16:40, Peng Yu <pengyu.ut@gmail.com> wrote:
>>> I attached the script that I run for build and the build output. I
>>> think that setup.py doesn't use the correct python library. But I'm
>>> not sure why. Would you please help me figure out what the problem is?
>>
>> Setting $LDFLAGS to be empty is also incorrect. Simply do not set
>> $LDFLAGS or $CPPFLAGS at all.
>>
>> [And please do not Cc: me. I read the list.]
>
> Even if I don't set $LDFLAGS in my build script, I still have LDFLAGS
> set in my ~/.bash_profile.

Then unset it:

unset CPPFLAGS
unset LDFLAGS

-- 
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