make error

Matthieu Patou mat at
Fri Oct 8 03:51:43 MDT 2010

  On 08/10/2010 10:34, Michael Wood wrote:
> On 8 October 2010 08:17, Matthieu Patou<mat at>  wrote:
>>   On 08/10/2010 09:25, Rohit Rajan wrote:
>>>   Hi All,
>>> I'm trying to configure the SAMBA VERSION: 4.0.0alpha14-GIT-cd04af7 the
>>> confiure went fine but whe i issue the make command i got this error.
>>> *** commands commence before first target.  Stop.
>> It's using the old build system.
>> Go in source4 do:
>> ./
>> ./configure.developer
>> make -j
> I suspect Rohit used the "rsync" instructions on the Samba4 HOWTO.
> When I tried that a few days ago it was broken.  ./ said it
> was setting up for waf, but ./configure.developer actually ran the
> autoconf version of configure.
Oh really ?
First the rsync command: rsync -avz samba-master, won't work

it has to be rsync -avz samba-master

Then after rsyncing the tree:
mat at imaps:~/samba-master/source4$ ./
Setting up for waf build
done. Now run ./configure or ./configure.developer then make.
mat at imaps:~/samba-master/source4$ cat configure

PREVPATH=`dirname $0`


# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
export JOBS

cd . || exit 1
$WAF configure "$@" || exit 1

And configure.developer is just a meta script that just call configure 
so it should use the waf build.

> I posted about ftp/unpacked/samba_4_0_test/ being broken here:
I'm updating the HOWTO and the doc in the repo.

Thanks for pointing.


Matthieu Patou
Samba Team

More information about the samba-technical mailing list