[issue960325] "--require <feature>" option for configure/make (fail if building not possible)

Björn Lindqvist report at bugs.python.org
Sat May 23 14:58:50 CEST 2009


Björn Lindqvist <bjourne at gmail.com> added the comment:

I'm not Hallvard but I'd also appreciate this feature. I think it is
quite important to have for automated build systems; Python seem to
build correctly but then down the line some other package fails because
the bz2 module is not available. 

IMHO it is wrong that you _can_ build python without libbz2 (for
example) because what you get is a broken standard library. It is not
mentioned anywhere in the documentation that bz2 is an optional module.
I think terminating the build at the configure step if libbz2 is not
found would be correct.

Otherwise maybe the standard --with configure options could be used for
this. E.g. ./configure --with-bz2 --with-ssl etc.

----------
nosy: +bjourne

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue960325>
_______________________________________


More information about the Python-bugs-list mailing list