The 'm' seems to be the math library on Linux, removing it breaks the build
for me. I've put this patch, minus removing the 'm', in a pull request along
with hopefully a fix for http://projects.scipy.org/numpy/ticket/1909.

https://github.com/numpy/numpy/pull/118

-Mark

On Tue, Jul 19, 2011 at 3:10 PM, Ralf Gommers
<[email protected]>wrote:

>
>
> On Sun, Jul 17, 2011 at 11:55 PM, Chris Barker <[email protected]>wrote:
>
>> On 7/14/2011 8:04 PM, Christoph Gohlke wrote:
>>
>>> A patch for the build issues is attached. Remove the build directory
>>> before rebuilding.
>>>
>>>  Christoph,
>>
>> I had other issues (I think in one case, a *.c file was not getting
>> re-built from the *.c.src file. But anyway, at the end the patch appears to
>> work.
>>
>> Could someone with commit privileges commit it?
>>
>
> Can someone explain the change in core/setup.py below? 'cmpl' is apparently
> for Compaq Portable Math Library, but I can't figure out what the 'm' is
> for.
>
> Ralf
>
> --- a/numpy/core/setup.py
> +++ b/numpy/core/setup.py
> @@ -349,7 +349,7 @@ def check_types(config_cmd, ext, build_dir):
>  def check_mathlib(config_cmd):
>      # Testing the C math library
>      mathlibs = []
> -    mathlibs_choices = [[],['m'],['cpml']]
> +    mathlibs_choices = [[],['cpml']]
>      mathlib = os.environ.get('MATHLIB')
> * *
>
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to