From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Building 'bind 9.11.6' fails with python error
Date: Fri, 01 Mar 2019 17:31:38 +0000
Message-ID: <5AAB5D15-059E-4056-B215-4AF670F44DEF@ipfire.org>
In-Reply-To: <9a7b5545-3598-01c5-7a70-a24c320a5f39@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6498320800678762195=="
List-Id: <development.lists.ipfire.org>

--===============6498320800678762195==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi,

> On 1 Mar 2019, at 17:28, Matthias Fischer <matthias.fischer(a)ipfire.org> w=
rote:
>=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***

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=E2=80=99?

No, we do not need that tool. We don=E2=80=99t use bind to sign any DNSSEC zo=
nes.

> 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

I guess disabling works.

>=20
> I tried moving 'lfsmake2 bind' behind 'lfsmake2 python' and 'lfsmake2
> python3' in 'make.sh', but this didn't work.
>=20
> Any hints would be appreciated.
>=20
> Best,
> Matthias

-Michael

--===============6498320800678762195==--