Author masamoto
Recipients masamoto
Date 2015-04-23.04:47:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429764430.06.0.333500600321.issue24034@psf.upfronthosting.co.za>
In-reply-to
Content
Objects/typeslots.inc is broken, and make stop on cygwin-1.7.35-i686.

If built-in python is not found in make processing, Objects/typeslots.inc generating will fail.
Because Objects/typeslots.inc is generated using $(PYTHON) in Makefile, but  $(PYTHON) variable is a hard-coding value that isn't check a built-in python existent.

make steps to fail and error message:
$ ./configure --prefix=/opt/py34
$ touch Include/typeslots.h
$ make
...
python.exe ./Objects/typeslots.py < ./Include/typeslots.h > Objects/typeslots.inc
/bin/sh: python.exe: command not found
Makefile:851: recipe for target 'Objects/typeslots.inc' failed
make: *** [Objects/typeslots.inc] Error 127

Cygwin python executable files:
$ find /usr/bin/ -name 'python*.exe'
/usr/bin/python2.7.exe
/usr/bin/python3.2m.exe
History
Date User Action Args
2015-04-23 04:47:10masamotosetrecipients: + masamoto
2015-04-23 04:47:10masamotosetmessageid: <1429764430.06.0.333500600321.issue24034@psf.upfronthosting.co.za>
2015-04-23 04:47:09masamotolinkissue24034 messages
2015-04-23 04:47:09masamotocreate