[Python-modules-team] Bug#589592: Bug#589592: _numpyconfig.h is version specific.

Sandro Tosi morph at debian.org
Wed Jul 21 10:00:01 UTC 2010


On Wed, Jul 21, 2010 at 11:46, David Ham <David.Ham at imperial.ac.uk> wrote:
> The problem occurs because of the following symlinks:
>
>> ls -ld /usr/include/python2.?/numpy
> lrwxrwxrwx 1 root root 45 Jul 19 15:08 /usr/include/python2.5/numpy ->
> ../../share/pyshared/numpy/core/include/numpy
> lrwxrwxrwx 1 root root 45 Jul 19 15:08 /usr/include/python2.6/numpy ->
> ../../share/pyshared/numpy/core/include/numpy
>
> numpyconfig.h is therefore picked up from
> /usr/share/pyshared/numpy/core/include/numpy/ and upon looking in that
> directory, fails to find _numpyconfig.h
>
> The correct fix would appear to be to make the following symlinks:
>
> /usr/include/python2.5/numpy ->
> /usr/lib/pymodules/python2.5/numpy/core/include/numpy/
> /usr/include/python2.6/numpy ->
> /usr/lib/pymodules/python2.6/numpy/core/include/numpy/

as we will do in the (still not released) -3 revision of the debian package.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Python-modules-team mailing list