On Jul 20, 2011, at 11:05 PM, Jakub Wilk wrote: >* Barry Warsaw <ba...@python.org>, 2011-07-20, 16:18: >>Also note that with the current rules file mod_python does not seem to >be >>buildable with more than one version of Python, so in converting to >>>dh_python2, I set X-Python-Version: >= 2.7. > >Err, no, whatever you wanted to achieve, this is wrong.
The problem is that the package used to be doing ./configure --with-python-version 2.7 (admittedly, on Ubuntu, sorry ;) but that does not work because the configure script does not recognize --with-python-version. The build log clearly warns about that. So it really wants to be --with-python python2.7 But note also that --with-python does not accept a list of Python binaries, and afaict, the rules file does not loop over multiple Python versions. This essentially mans libapache2-mod-python can only be built for one version of Python (well, without more radical changes to debian/rules). Maybe it's better to not include an X-Python-Version header and use PYVER=$(shell pyversions -d) instead? Cheers, -Barry
signature.asc
Description: PGP signature