[Samba] git folder moved : waf : The top source directory has moved. Please run distclean and reconfigure
me at electronico.nc
me at electronico.nc
Tue Oct 8 13:33:50 MDT 2013
Le 09/10/2013 06:15, me at electronico.nc a écrit :
> Hi all,
>
> As samba4 git source took a looong time to download, I've moved the
> folder away from original directory.
>
> Trying to compile 4.0.10, make shows :
>> 'configure' finished successfully (52.943s)
>> WAF_MAKE=1 python ./buildtools/bin/waf build
>> cannot find include/config.h
>> Waf: Entering directory `/home/serveur/git/samba4/bin'
>> bld.curdir
>> /media/data/git/samba4/lib/replace/../../buildtools/wafsamba is not a
>> child of /home/serveur/git/samba4
>> /media/data/git/samba4/wscript: error: Traceback (most recent call
>> last):
>> File "/media/data/git/samba4/buildtools/wafadmin/Utils.py", line
>> 647, in recurse
>> exec(compile(txt, file_path, 'exec'), dc)
>> File "/media/data/git/samba4/wscript_build", line 30, in <module>
>> bld.RECURSE('lib/replace')
>> File "./buildtools/wafsamba/samba_utils.py", line 472, in RECURSE
>> return ctx.add_subdirs(relpath)
>> File "/media/data/git/samba4/buildtools/wafadmin/Build.py", line
>> 993, in add_subdirs
>> self.recurse(dirs, 'build')
>> File "/media/data/git/samba4/buildtools/wafadmin/Utils.py", line
>> 634, in recurse
>> f(self)
>> File "/media/data/git/samba4/lib/replace/wscript", line 575, in build
>> bld.RECURSE('buildtools/wafsamba')
>> File "./buildtools/wafsamba/samba_utils.py", line 472, in RECURSE
>> return ctx.add_subdirs(relpath)
>> File "/media/data/git/samba4/buildtools/wafadmin/Build.py", line
>> 993, in add_subdirs
>> self.recurse(dirs, 'build')
>> File "/media/data/git/samba4/buildtools/wafadmin/Utils.py", line
>> 634, in recurse
>> f(self)
>> File
>> "/media/data/git/samba4/lib/replace/../../buildtools/wafsamba/wscript",
>> line 427, in build
>> raise Utils.WafError('''The top source directory has moved.
>> Please run distclean and reconfigure''')
>> WafError: The top source directory has moved. Please run distclean
>> and reconfigure
>>
>> make: *** [all] Erreur 1
> I tried :
> git clean -x -f -d
>
> but I'm still getting the error above.
>
> Could someone assist a bit with this ?
> Thanks in advance for your time ! (samba4 git download takes something
> like 4 hours from here)
>
> Nicolas
I tried :
make distclean
->
> WAF_MAKE=1 python ./buildtools/bin/waf distclean
> project '/media/data/git/samba4/bin' cannot be removed
> 'distclean' finished successfully (0.015s)
sudo make distclean
->
> WAF_MAKE=1 python ./buildtools/bin/waf distclean
> 'distclean' finished successfully (0.000s)
but 'make' still displays the same error ... so still looking for help
... TIA
Nicolas
More information about the samba
mailing list