configure script in BIND 9.13.5 release fails to detect python
Summary
One cannot build bind with python support. The configure
script fails to detect python. Specifically, it tries to check the python version by testing /usr/bin/yes
instead of /usr/bin/python
!
BIND version used
BIND 9.13.5
Steps to reproduce
Download BIND 9.13.5 tar.gz from isc.org
Use ./configure --with-python
What is the current bug behavior?
Configure output
...
checking for perl5... no
checking for perl... /usr/bin/perl
checking for yes... /usr/bin/yes
checking if /usr/bin/yes is python2 version >= 2.7 or python3 version >= 3.2... no
checking for Python support... no
BUILDSTDERR: configure: error: Python required for dnssec-keymgr
- It fails to detect an existing
/usr/bin/python
- It tries to check the python version from
/usr/bin/yes
!
What is the expected correct behavior?
It should check /usr/bin/python
instead of /usr/bin/yes
when checking the python version.
Relevant configuration files
n/a
Relevant logs and/or screenshots
n/a
Possible fixes
Looks like something went wrong in configure
on line 12266