Hi,
On 1 Mar 2019, at 17:28, Matthias Fischer matthias.fischer@ipfire.org wrote:
Hi,
Building current 'bind 9.11.6' suddenly fails with the following errors:
***SNIP*** checking for perl... /usr/bin/perl checking for python... no checking for python3... no checking for python3.7... no checking for python3.6... no checking for python3.5... no checking for python3.4... no checking for python3.3... no checking for python3.2... no checking for python2... no checking for python2.7... no checking for Python support... no configure: error: Python required for dnssec-keymgr make: *** [bind:76: /usr/src/log/bind-9.11.6] Error 1 ***SNAP***
We have python 2.7 which should be found here. Probably bind is built before Python is built?
Have a look in config.log what went wrong during detection...
Sorry, I'm not sure: do we need 'dnssec-keymgr'? Or should I compile bind with '--without-python’?
No, we do not need that tool. We don’t use bind to sign any DNSSEC zones.
Excerpt from 'configure'-help: "# Python is also optional but required by default so that dnssec-keymgr # gets installed unless explicitly prevented by the user using # --without-python.”
I guess disabling works.
I tried moving 'lfsmake2 bind' behind 'lfsmake2 python' and 'lfsmake2 python3' in 'make.sh', but this didn't work.
Any hints would be appreciated.
Best, Matthias
-Michael