[Samba] Trying to build Samba from source on RHEL 8

Michael Tokarev mjt at tls.msk.ru
Wed Jun 7 09:52:40 UTC 2023


07.06.2023 12:25, Andrew Bartlett via samba wrote:
...
> I suspect, perhaps for reasons to support your other tools on the
> system, the environment variable PYTHON is set, pointing to a python2
> binary.  Try 'PYTHON= ./configure' and see if you get further, where it
> will instead use the default python3 from the waf 'shebang'
> (#!/usr/bin/env python3)
> 
> You will need to use 'PYTHON= make -j' as well

If that's the case here, I guess a tiny check at the top of waf script
for python version would be helpful.

Thanks,

/mjt



More information about the samba mailing list