public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Building 'bind 9.11.6' fails with python error
@ 2019-03-01 17:28 Matthias Fischer
  2019-03-01 17:31 ` Michael Tremer
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fischer @ 2019-03-01 17:28 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

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***

Sorry, I'm not sure: do we need 'dnssec-keymgr'? Or should I compile
bind with '--without-python'?

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 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building 'bind 9.11.6' fails with python error
  2019-03-01 17:28 Building 'bind 9.11.6' fails with python error Matthias Fischer
@ 2019-03-01 17:31 ` Michael Tremer
  2019-03-01 19:45   ` Matthias Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tremer @ 2019-03-01 17:31 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]

Hi,

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building 'bind 9.11.6' fails with python error
  2019-03-01 17:31 ` Michael Tremer
@ 2019-03-01 19:45   ` Matthias Fischer
  2019-03-02 16:51     ` Michael Tremer
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fischer @ 2019-03-01 19:45 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2269 bytes --]

Hi,

On 01.03.2019 18:31, Michael Tremer wrote:
> Hi,
> 
>> On 1 Mar 2019, at 17:28, Matthias Fischer <matthias.fischer(a)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?

It is. I tried building it *after* Python, but: see below.

> Have a look in config.log what went wrong during detection...

***SNIP***
...
checking for python2... /usr/bin/python2
checking if /usr/bin/python2 is python2 version >= 2.7 or python3
version >= 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 >= 2.7 or python3
version >= 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***

What is meant with "module 'ply'"? I can't find it.

>> 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.

Ok. Adding '--without-python'.

>> 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.

Yes. It does:

***SNIP***
...
checking for Python support... disabled
...
***SNAP***

;-)

Best,
Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building 'bind 9.11.6' fails with python error
  2019-03-01 19:45   ` Matthias Fischer
@ 2019-03-02 16:51     ` Michael Tremer
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2019-03-02 16:51 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2643 bytes --]

Hi,

I have never heard of “ply” before, but it is a lever for Python.

However, it does not matter because we don’t need it anyways…

-Michael

> On 1 Mar 2019, at 19:45, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> Hi,
> 
> On 01.03.2019 18:31, Michael Tremer wrote:
>> Hi,
>> 
>>> On 1 Mar 2019, at 17:28, Matthias Fischer <matthias.fischer(a)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?
> 
> It is. I tried building it *after* Python, but: see below.
> 
>> Have a look in config.log what went wrong during detection...
> 
> ***SNIP***
> ...
> checking for python2... /usr/bin/python2
> checking if /usr/bin/python2 is python2 version >= 2.7 or python3
> version >= 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 >= 2.7 or python3
> version >= 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***
> 
> What is meant with "module 'ply'"? I can't find it.
> 
>>> 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.
> 
> Ok. Adding '--without-python'.
> 
>>> 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.
> 
> Yes. It does:
> 
> ***SNIP***
> ...
> checking for Python support... disabled
> ...
> ***SNAP***
> 
> ;-)
> 
> Best,
> Matthias


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-02 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 17:28 Building 'bind 9.11.6' fails with python error Matthias Fischer
2019-03-01 17:31 ` Michael Tremer
2019-03-01 19:45   ` Matthias Fischer
2019-03-02 16:51     ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox