[Samba] 4.10.0, python3 and Debian 8.11

Jonathan Hunter jmhunter1 at gmail.com
Tue Mar 19 21:35:01 UTC 2019


Hi,

First of all - thanks very much to the team for the work that has gone
into 4.10.0, I have downloaded it and am looking forward to upgrading
:)

I decided to try and use Python3 with my 4.10.0 upgrade, given the
comments in the release notes; but I have some newbie questions that
hopefully others can help with. I'm really not up to speed with
python3 yet!

This version of Debian evidently doesn't come with python3 pre-installed:

PYTHONHASHSEED=1 WAF_MAKE=1  ./buildtools/bin/waf install
/usr/bin/env: python3: No such file or directory
Makefile:10: recipe for target 'install' failed
make: *** [install] Error 127
(yes, I think I tried to install before having configured it - but
still the python3 error is the same)

so I figured I could install Python 3:
$ sudo apt-get install python3

which seemed to work, up to a point:
[...]
Checking for program 'python3'
           : /usr/bin/python3
Checking for program 'python'
           : /usr/bin/python3
Checking for program 'python3'
           : /usr/bin/python3
Checking for python version >= 2.6.0
           : 3.4.2
python-config
           : not found
Checking for library python3.4m in LIBDIR
           : not found
Checking for library python3.4m in python_LIBPL
           : not found
Checking for library python3.4m in $prefix/libs
           : not found
Checking for library python3.4m in LIBDIR
           : not found
Checking for library python3.4m in python_LIBPL
           : not found
Checking for library python3.4m in $prefix/libs
           : not found
Checking for library python34 in LIBDIR
           : not found
Checking for library python34 in python_LIBPL
           : not found
Checking for library python34 in $prefix/libs
           : not found
Checking for header Python.h
           : Distutils not installed? Broken python installation? Get
python-config now!
The configuration failed
(complete log in /usr/local/samba/download/samba-4.10.0/bin/config.log)

however I'm not sure what other python3 package I'm missing. I tried
'apt-cache search'; the samba wiki and some google-fu, but I haven't
figured out what I actually need to install.

I guess I won't be the only one having this query, so having this
available in the mailing list archives won't be a bad thing :)

Thanks

Jonathan

-- 
"If we knew what it was we were doing, it would not be called
research, would it?"
      - Albert Einstein



More information about the samba mailing list