Deal all, Installation is stuck on running "/configure.developer" command. It returns error below;; /usr/bin/env: python3: No such file or directory Can anyone help me on this? Best, Metin
On 25/09/2019 21:37, Metin Koc via samba wrote:> Deal all, > > Installation is stuck on running "/configure.developer" command. It returns error below;; > > /usr/bin/env: python3: No such file or directory > > Can anyone help me on this? > > Best, > MetinSorry, need more info ;-) What OS ? What Samba version ? What was your 'configure' line ? What packages did you install to compile Samba ? Rowland
On Wed, Sep 25, 2019 at 08:37:17PM +0000, Metin Koc via samba wrote:> Deal all, > > Installation is stuck on running "/configure.developer" command. It returns error below;; > > /usr/bin/env: python3: No such file or directory > > Can anyone help me on this?The default is now python3. If you want to use python2 for the build, that has to be explicitly specified. See e.g.: https://www.samba.org/samba/history/samba-4.10.0.html python3 support --------------- This is the first release of Samba which has full support for Python 3. Samba 4.10 still has support for Python 2, however, Python 3 will be used by default, i.e. 'configure' & 'make' will execute using python3. To build Samba with python2 you *must* set the 'PYTHON' environment variable for both the 'configure' and 'make' steps, i.e. 'PYTHON=python2 ./configure' 'PYTHON=python2 make' This will override the python3 default. Alternatively, it is possible to produce Samba Python bindings for both Python 2 and Python 3. To do so, specify '--extra-python=/usr/bin/python2' as part of the 'configure' command. Note that python3 will still be used as the default in this case. Note that Samba 4.10 supports Python 3.4 onwards. Christof
On Wed, 2019-09-25 at 20:37 +0000, Metin Koc via samba wrote:> Deal all, > > Installation is stuck on running "/configure.developer" command. It returns error below;; > > /usr/bin/env: python3: No such file or directory > > Can anyone help me on this?As per the WHATSNEW, Samba uses Python3 by default now. Depending on the version, Samba requires Python3 for the full build. 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
Yes it was about Python3 and it works now! Happy to being here again ? Thank you very much Christof/Rowland/Andrew -----Original Message----- From: Andrew Bartlett <abartlet at samba.org> Sent: Thursday, September 26, 2019 12:46 AM To: Metin Koc <metkoc at outlook.com>; samba at lists.samba.org Subject: Re: [Samba] /configure.developer is not working On Wed, 2019-09-25 at 20:37 +0000, Metin Koc via samba wrote:> Deal all, > > Installation is stuck on running "/configure.developer" command. It > returns error below;; > > /usr/bin/env: python3: No such file or directory > > Can anyone help me on this?As per the WHATSNEW, Samba uses Python3 by default now. Depending on the version, Samba requires Python3 for the full build. 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 25/09/2019 22:38, Metin Koc wrote:> Christof's solution led me to focus on installing python3. I guess it worked ? Thx Rowland >I thought that was probably the problem, but couldn't be sure from what little you posted ;-) The other question is, why do you need a developer build ? Rowland
After I downloaded to samba-4.11.0 I am following to installation method below; wget -c https://download.samba.org/pub/samba/stable/samba-4.11.0.tar.gz tar -zxvf samba-4.11.0.tar.gz cd samba-4.11.0 ./configure.developer (1st error) Make (It now returns "Project not configured (run 'waf configure' first)" make install.. Using Centos 7 and samba-4.11.0 I guess there are alot of change since my last installation. Metin -----Original Message----- From: samba <samba-bounces at lists.samba.org> On Behalf Of Rowland penny via samba Sent: Thursday, September 26, 2019 9:48 AM To: sambalist <samba at lists.samba.org> Subject: Re: [Samba] /configure.developer is not working On 25/09/2019 22:38, Metin Koc wrote:> Christof's solution led me to focus on installing python3. I guess it > worked ? Thx Rowland >I thought that was probably the problem, but couldn't be sure from what little you posted ;-) The other question is, why do you need a developer build ? Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba