Cannot find waf when building libt* from tarball

Lukas Slebodnik lslebodn at fedoraproject.org
Fri Jan 18 16:43:22 UTC 2019


ehlo,

I am not sure what would be the simplest and portable solution
for running "make all" in libtalloc from git source and from tarball.

ATM it fails with following error
sh-4.4# make all
PYTHONHASHSEED=1 WAF_MAKE=1  ../../buildtools/bin/waf build
/bin/sh: ../../buildtools/bin/waf: No such file or directory
make: *** [Makefile:7: all] Error 127

Regression introduced in
commit a660b7fb8e519bd3be558fd0425bff8f287fca1f
Date:   Sat Nov 24 15:27:45 2018 +0000

    PY3: switch current build to use python3

    Make sure default make and configure for all now defaults
    to building with python3.

    To build a samba (or sub component e.g. talloc etc.) with python3
      ./configure && make

    To build a samba (or sub component e.g. talloc etc.) with python2
      PYTHON=python ./configure && PYTHON=python make


I would able to solve it using non-portable shell command.
But that was removed in 14718a725b65828c470167b922260840343d9843

Maybe sb else will have better idea.

LS



More information about the samba-technical mailing list