[PATCHv2 1-14/14] Re: Disabling Python Modules

Andrew Bartlett abartlet at samba.org
Tue Feb 21 22:13:41 UTC 2017


On Tue, 2017-02-21 at 00:01 -0500, Ian Stakenvicius wrote:
> 
> 
> So since python isn't actually required, something along the lines of
> this should also suffice? (note, haven't tested yet)
> 
> 
> diff --git a/ctdb/wscript b/ctdb/wscript
> index 13384c8..5aac7eb 100644
> --- a/ctdb/wscript
> +++ b/ctdb/wscript
> @@ -107,8 +107,8 @@ def configure(conf):
>      if conf.env.standalone_ctdb:
>          conf.SAMBA_CHECK_PERL(mandatory=True)
> 
> -        conf.SAMBA_CHECK_PYTHON(mandatory=True, version=(2,5,0))
> -        conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True)
> +        conf.SAMBA_CHECK_PYTHON(mandatory=False, version=(2,5,0))
> +        conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)
> 
>      if conf.CHECK_FOR_THIRD_PARTY():
>          conf.RECURSE('third_party/popt')

Can you have a practical play and ensure we not only build ctdb, but it
doesn't have any of the bundled libs producing python bindings?

Thanks,

Andrew Bartlett





More information about the samba-technical mailing list