[Numpy-discussion] Build error on Windows

Mark Wiebe mwwiebe at gmail.com
Wed Jul 20 13:00:49 EDT 2011


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
<ralf.gommers at googlemail.com>wrote:

>
>
> On Sun, Jul 17, 2011 at 11:55 PM, Chris Barker <Chris.Barker at noaa.gov>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
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110720/60e2391a/attachment.html>


More information about the NumPy-Discussion mailing list