Python not found during configure
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 112
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Our system does not provide the command `python`, only `python2` and `python3`. I believe this is becoming increasingly widespread.
The configure scripts accepts only `python` and I do not see a way to change this via options or environment variables.
I suggest to replace
```
AC_CHECK_PROG(HAVE_PYTHON,[python],[python],[no])
```
with
```
AC_CHECK_PROGS(HAVE_PYTHON,[python, python3, python2],[no])
```
Consider dropping support for `python2`.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the configure script containing AC_CHECK_PROG(HAVE_PYTHON) and review how Python is detected. Test configuration on systems exposing python2 or python3 without python, and consider the requested handling of Python 2; done means configure succeeds with an available supported command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100