Skip to content

Python not found during configure #38

@jgraciahlrs

Description

@jgraciahlrs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions