make error

Michael Wood esiotrot at gmail.com
Fri Oct 8 07:33:30 MDT 2010


On 8 October 2010 11:51, Matthieu Patou <mat at samba.org> wrote:
>  On 08/10/2010 10:34, Michael Wood wrote:
>>
>> On 8 October 2010 08:17, Matthieu Patou<mat at samba.org>  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.
>>>>
>>>> data.mk:1372: *** commands commence before first target.  Stop.
>>>
>>> It's using the old build system.
>>>
>>> Go in source4 do:
>>> ./autogen-waf.sh
>>> ./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.  ./autogen.sh said it
>> was setting up for waf, but ./configure.developer actually ran the
>> autoconf version of configure.
>>
> Oh really ?

Yes, really :)

> First the rsync command: rsync -avz samba.org::ftp/unpacked/samba_4_0_test/
> samba-master, won't work

First you say "Oh really?" and then you confirm what I just said? :)

> it has to be rsync -avz samba.org::ftp/unpacked/samba_4_0_waf/ samba-master

Ah thanks.  I don't use the rsync method anyway, but someone else was
having trouble that turned out to be caused by following the outdated
rsync instructions on the HOWTO.

> Then after rsyncing the tree:
> mat at imaps:~/samba-master/source4$ ./autogen-waf.sh
> Setting up for waf build
> done. Now run ./configure or ./configure.developer then make.
> mat at imaps:~/samba-master/source4$ cat configure
> #!/bin/sh
>
> PREVPATH=`dirname $0`
>
> WAF=../buildtools/bin/waf
>
> # using JOBS=1 gives maximum compatibility with
> # systems like AIX which have broken threading in python
> JOBS=1
> export JOBS
>
> cd . || exit 1
> $WAF configure "$@" || exit 1
> cd $PREVPATH
>
> 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:
>> http://lists.samba.org/archive/samba-technical/2010-October/073735.html
>>
> I'm updating the HOWTO and the doc in the repo.
>
> Thanks for pointing.

No problem.  Feel free to revert my change to remove the rsync
instructions when the unpacked/samba_4_0_waf/ vs.
unpacked/samba_4_0_test/ is resolved.

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba-technical mailing list