For reasons unknown the configure process blows up even if I specify
the option --disable-python and in the config.log I see :

configure:8855: checking for perl5
configure:8885: result: /usr/local/bin/perl
configure:8952: checking for python
configure:8982: result: /opt/python/bin/python3.7
configure:9001: checking if /opt/python/bin/python3.7 is python2 version >= 2.7 or python3 version >= 3.2
configure:9004: result: yes
configure:9013: checking Python module 'argparse'
configure:9016: result: yes
configure:9025: checking Python module 'ply'
configure:9031: result: no
configure:8952: checking for python3
configure:8970: found /opt/python/bin/python3
configure:8982: result: /opt/python/bin/python3
configure:9001: checking if /opt/python/bin/python3 is python2 version >= 2.7 or python3 version >= 3.2
configure:9004: result: yes
configure:9013: checking Python module 'argparse'
configure:9016: result: yes
configure:9025: checking Python module 'ply'
configure:9031: result: no
configure:8952: checking for python3.7
configure:8970: found /opt/python/bin/python3.7
configure:8982: result: /opt/python/bin/python3.7
configure:9001: checking if /opt/python/bin/python3.7 is python2 version >= 2.7 or python3 version >= 3.2
configure:9004: result: yes
configure:9013: checking Python module 'argparse'
configure:9016: result: yes
configure:9025: checking Python module 'ply'
configure:9031: result: no
configure:8952: checking for python3.6
configure:8985: result: no
configure:8952: checking for python3.5
configure:8985: result: no
configure:8952: checking for python3.4
configure:8985: result: no
configure:8952: checking for python3.3
configure:8985: result: no
configure:8952: checking for python3.2
configure:8985: result: no
configure:8952: checking for python2
configure:8985: result: no
configure:8952: checking for python2.7
configure:8970: found /bin/python2.7
configure:8982: result: /bin/python2.7
configure:9001: checking if /bin/python2.7 is python2 version >= 2.7 or python3 version >= 3.2
configure:9007: result: no
configure:9043: checking for Python support
configure:9045: result: no
configure:9047: error: Python >= 2.7 or >= 3.2 and the PLY package are required for dnssec-keymgr and other Python-based tools. PLY may be available from your OS package manager as python-ply or python3-ply; it can also be installed via pip. To build without Python/PLY, use --disable-python.

Which is bizarre. Did someone at isc decide Python was now needed to
 build ISC Bind ??  Something more special than Python 3.7.3 ?

beta$
beta$ echo $PYTHON
/opt/python/bin/python3.7

beta$ $PYTHON --version
Python 3.7.3

beta$ $PYTHON
Python 3.7.3 (default, May 29 2019, 03:46:38) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys;
>>> print(sys.path);
['', '/opt/python/lib/python37.zip', '/opt/python/lib/python3.7', '/opt/python/lib/python3.7/lib-dynload', '/opt/python/lib/python3.7/site-packages']
>>>
beta$

So configure is only looking at the old /bin/python2.7 stuff ?

Anyway around this?


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to