From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Building 'bind 9.11.6' fails with python error Date: Sat, 02 Mar 2019 16:51:25 +0000 Message-ID: <42A58B10-5A0F-4D17-B72A-EDE999492576@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8712026972852327487==" List-Id: --===============8712026972852327487== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I have never heard of =E2=80=9Cply=E2=80=9D before, but it is a lever for Pyt= hon. However, it does not matter because we don=E2=80=99t need it anyways=E2=80=A6 -Michael > On 1 Mar 2019, at 19:45, Matthias Fischer w= rote: >=20 > Hi, >=20 > On 01.03.2019 18:31, Michael Tremer wrote: >> Hi, >>=20 >>> On 1 Mar 2019, at 17:28, Matthias Fischer = wrote: >>>=20 >>> Hi, >>>=20 >>> Building current 'bind 9.11.6' suddenly fails with the following errors: >>>=20 >>> ***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*** >>=20 >> We have python 2.7 which should be found here. Probably bind is built befo= re Python is built? >=20 > It is. I tried building it *after* Python, but: see below. >=20 >> Have a look in config.log what went wrong during detection... >=20 > ***SNIP*** > ... > checking for python2... /usr/bin/python2 > checking if /usr/bin/python2 is python2 version >=3D 2.7 or python3 > version >=3D 3.2... yes > checking Python module 'argparse'... yes > checking Python module 'ply'... no > checking for python2.7... /usr/bin/python2.7 > checking if /usr/bin/python2.7 is python2 version >=3D 2.7 or python3 > version >=3D 3.2... yes > checking Python module 'argparse'... yes > checking Python module 'ply'... 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*** >=20 > What is meant with "module 'ply'"? I can't find it. >=20 >>> Sorry, I'm not sure: do we need 'dnssec-keymgr'? Or should I compile >>> bind with '--without-python=E2=80=99? >>=20 >> No, we do not need that tool. We don=E2=80=99t use bind to sign any DNSSEC= zones. >=20 > Ok. Adding '--without-python'. >=20 >>> 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.=E2=80=9D >>=20 >> I guess disabling works. >=20 > Yes. It does: >=20 > ***SNIP*** > ... > checking for Python support... disabled > ... > ***SNAP*** >=20 > ;-) >=20 > Best, > Matthias --===============8712026972852327487==--