make error
Matthieu Patou
mat at samba.org
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 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 ?
First the rsync command: rsync -avz
samba.org::ftp/unpacked/samba_4_0_test/ samba-master, won't work
it has to be rsync -avz samba.org::ftp/unpacked/samba_4_0_waf/ samba-master
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.
Matthieu
--
Matthieu Patou
Samba Team http://samba.org
More information about the samba-technical
mailing list