This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author henry.precheur
Recipients henry.precheur
Date 2011-06-27.12:53:36
SpamBayes Score 2.3886946e-06
Marked as misclassified No
Message-id <1309179217.52.0.471772835314.issue12421@psf.upfronthosting.co.za>
In-reply-to
Content
Parser/asdl_c.py uses `/usr/bin/env python' as an interpreter. But Python executable is not always `python'. With OpenBSD's ports, CPython's interpreters are installed as pythonX.Y. There's a variable PYTHON in the Makefile, that's what should be used.

This way make PYTHON=python2.7 works on OpenBSD.

The attached patch fixes that.

Note that the executable bit and the hashbang can be removed from asdl_c.py if the patch is applied.
History
Date User Action Args
2011-06-27 12:53:37henry.precheursetrecipients: + henry.precheur
2011-06-27 12:53:37henry.precheursetmessageid: <1309179217.52.0.471772835314.issue12421@psf.upfronthosting.co.za>
2011-06-27 12:53:36henry.precheurlinkissue12421 messages
2011-06-27 12:53:36henry.precheurcreate