On Sun, 20 Jul 2008, Ondrej Certik wrote:
>
> I think this patch needs to be applied:
>
> Index: debian/control
> ===================================================================
> --- debian/control (revision 1584)
> +++ debian/control (working copy)
> @@ -3,7 +3,7 @@
> Priority: optional
> Maintainer: Python Applications Packaging Team
> <[EMAIL PROTECTED]>
> Uploaders: Ondrej Certik <[EMAIL PROTECTED]>
> -Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>= 2.4.4-6)
> +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>=
> 2.4.4-6), python-dev (>= 2.4.4-6)
> Build-Depends-Indep: python-support (>= 0.7.5)
> Standards-Version: 3.8.0
> Homepage: http://cython.org/
> @@ -12,7 +12,7 @@
> XS-DM-Upload-Allowed: yes
>
> Package: cython
> -Architecture: all
> +Architecture: any
> Depends: ${python:Depends}, ${misc:Depends}
> Suggests: gcc
> XB-Python-Version: ${python:Versions}
>
>
> However, the cython build fails then:
>
> cd . && python2.4 setup.py build
> --build-base="/tmp/buildd/cython-0.9.8/./build"
> /bin/sh: python2.4: command not found
> make: *** [python-build-stamp-2.4] Error 127
>
> Now I am investigating why. python2.4 is not called from Cython, so
> it's seems some Debian thing. CCing to Tim -- I am quite busy today, I
> really need to work on my thesis, so I'd appreciate any help with
> this.
>
> Ondrej
I think you want python-all-dev (>= 2.4.4-6), rather than just python-dev
(>= 2.4.4-6). What's going on is that Debian build extensions modules for
all current versions of python (python2.4 and python2.5) when you're using
python-support; python-all-dev is the right way to include that as a
dependency.
-Tim Abbott
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev