[Python-modules-team] Bug#507746: python-numpy: link to cfunc.h missing in /usr/lib/python2.5/site-packages/numpy/core/include/numpy

Ondrej Certik ondrej at certik.cz
Thu Dec 4 23:11:18 UTC 2008


On Thu, Dec 4, 2008 at 11:45 PM, Janis Hagelberg <janis at mso.anu.edu.au> wrote:
>> On Thu, Dec 4, 2008 at 2:36 AM, Janis Hagelberg <janis at mso.anu.edu.au>
>> wrote:
>>> Package: python-numpy
>>> Version: 1:1.1.1-1
>>> Severity: normal
>>>
>>> There seem to be a missing link to cfunc.h in
>>>
>>> usr/lib/python2.5/site-packages/numpy/core/include/numpy
>>>
>>> This bug seems to be somehow related to bug #499613, but using the
>>> solution of #499613 didn't help compiling C code that
>>> includes <numpy/libnumarray.h>.
>>
>> Is this head file for old code that uses numarray?
>
> The code comes from stsci_python_2.7 which is needed by pyraf. The code
> may not be up to date, even though the 2.7 release is from November 2008.
>
>
>>
>>>
>>> With the additional link to cfunc.h in
>>> usr/lib/python2.5/site-packages/numpy/core/include/numpy it worked.
>>
>> If you could send us a patch to our packaging that fixes that, I'll
>> apply, test it and upload.
>
> This is my first bug-report, and I am not quite sure how to make patch. I
> just unpacked data.tar.gz, added the missing link, and then repacked it.
>
> If this is not the way it should be done, just send me a link with a
> howto, and I will do it.
>
>
>>
>> Thanks,
>> Ondrej
>>
>
> Tanks to you for the package!

Thanks for the patch. Please CC the bug, so that other people know
what is happening.

The way to do create a patch is this:

$ apt-get install devscripts
$ debcheckout python-numpy
$ cd python-numpy

patch the files and
$ svn di

See here for more info:

http://wiki.debian.org/PAPT_Howto

our main page is here:

http://wiki.debian.org/Teams/PythonModulesTeam

Please ask if you have problems building the package. Thanks a lot for
any work you do.

Ondrej





More information about the Python-modules-team mailing list