New submission from Henry Precheur <he...@precheur.org>: 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. ---------- components: Build files: fix_ASDLGEN.diff keywords: patch messages: 139264 nosy: henry.precheur priority: normal severity: normal status: open title: Use PYTHON when calling Parser/asdl_c.py versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file22494/fix_ASDLGEN.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12421> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com