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
On Tue, 2019-03-19 at 21:35 +0000, Jonathan Hunter via samba wrote:> 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 python3python3-dev There will be other python3 packages you need, the simple way would be to install python3-all. We realise that our package lists on the wiki are out of date (particularly with respect to multiple Samba versions and multiple distributions), we are in the final stages of preparing a new package list system that will be validated by our CI tooling. Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Development and Support, Catalyst IT https://catalyst.net.nz/services/samba
On Tue, 19 Mar 2019 at 22:04, Andrew Bartlett <abartlet at samba.org> wrote:> > On Tue, 2019-03-19 at 21:35 +0000, Jonathan Hunter via samba wrote: > > I figured I could install Python 3: > > $ sudo apt-get install python3 > > python3-dev > > There will be other python3 packages you need, the simple way would be > to install python3-all.Many thanks Andrew. Now compiling :)> We realise that our package lists on the wiki are out of date > (particularly with respect to multiple Samba versions and multiple > distributions), we are in the final stages of preparing a new package > list system that will be validated by our CI tooling.No problem at all, thank you for the pointer. For info, with my configuration at least, the only packages I needed to add were python3 and python3-dev. Samba has compiled successfully now :) Cheers Jonathan -- "If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein