Web lists-archives.com

Re: [Samba] python dist-utils and python-config [SEC=UNOFFICIAL]




On Tue, 2019-05-28 at 07:41 +0000, Thamm, Russell via samba wrote:
> UNOFFICIAL
> Hi,
> 
> I'm trying to build samba-latest on CentOS 7. The PC is not online, so I have to download everything manually.
> Most of the prerequisites are on the CentOS Everything ISO so I don't have to download a lot.
> 
> I installed all the documented dependencies and configure complained about python3.
> 
> So I downloaded and installed
> 
> python36-libs-3.6.8-1.el7.x86_64.rpm
> python36-3.6.8-1.el7.x86_64.rpm
> 
> and now I get (./configure)
> 
> :DistUtils not installed? Broken python installation? Get python-config now.
> 
> I tried to find dist-utils. All I could find was:
> 
> python36-distutils-extra-2.39-8.el7.noarch.rpm
> 
> This is apparently not what is required, because configure still gives me the same error.
> 
> I've had even less luck looking for python-config.
> 
> Can anyone tell me what else I need to install?
> 
> Alternately, what is the latest version of SAMBA 4 that will build with the documented prerequisites(ie not using python 3)?

Sorry about the poor errors, we should (please file a bug) give you
more clues that that.

Try again with --disable-python --without-ad-dc if you don't want an AD
DC, that won't need the python-devel bits.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba