[issue26662] configure/Makefile doesn't check if "python" command works, needed to build Objects/typeslots.inc

Martin Panter report at bugs.python.org
Mon Jul 11 00:34:55 EDT 2016


Martin Panter added the comment:

Victor: Gnu Make has a special “.DELETE_ON_ERROR” target that will cause Objects/typeslots.inc to be removed if the “python” command fails, which is slightly better than truncating it. See delete-on-error.patch. It looks like you were not using Gnu Make, but maybe there is an equivalent for BSD’s Make.

Chi: Yes I think “make touch” may help you work around the problem. It should be safe to try anyway :)

----------
keywords: +patch
Added file: http://bugs.python.org/file43683/delete-on-error.patch

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


More information about the Python-bugs-list mailing list