akhiezer wrote:
Date: Mon, 12 Sep 2016 08:14:29 +0000 (UTC)
From: Sainadh J <[email protected]>
Subject: [blfs-support] samba-4.4.5 installation failed
hello,when i try to install samba-4.4.5 i getting the following error :root [
/xc/samba-4.4.5 ]# make install
WAF_MAKE=1 python ./buildtools/bin/waf install
Waf: Entering directory `/xc/samba-4.4.5/bin'
* creating /etc/samba
* creating /var/lib/samba/private
* creating /var/log/samba
* creating /var/lib/samba/private
* creating /var/lib/samba
* creating /var/lib/samba
* creating /var/cache/samba
* creating /var/lock/samba
/xc/samba-4.4.5/wscript: error: Traceback (most recent call last):
- "most recent call last" :
File "/xc/samba-4.4.5/third_party/waf/wafadmin/Utils.py", line 669, in
recurse
exec(compile(txt, file_path, 'exec'), dc)
File "/xc/samba-4.4.5/wscript_build", line 46, in <module>
bld.RECURSE('dynconfig')
File "./buildtools/wafsamba/samba_utils.py", line 453, in RECURSE
return ctx.add_subdirs(relpath)
File "/xc/samba-4.4.5/third_party/waf/wafadmin/Build.py", line 997, in
add_subdirs
self.recurse(dirs, 'build')
File "/xc/samba-4.4.5/third_party/waf/wafadmin/Utils.py", line 656, in
recurse
f(self)
File "/xc/samba-4.4.5/dynconfig/wscript", line 426, in build
bld.INSTALL_DIRS("", "${LOCKDIR} ${PIDDIR} ${SOCKET_DIR}")
File "./buildtools/wafsamba/wafsamba.py", line 889, in INSTALL_DIRS
bld.install_dir(os.path.join(destdir, d))
File "/xc/samba-4.4.5/third_party/waf/wafadmin/Build.py", line 844, in
install_dir
Utils.check_dir(destpath)
File "/xc/samba-4.4.5/third_party/waf/wafadmin/Utils.py", line 458, in
check_dir
raise WafError("Cannot create the folder '%s' (error: %s)" % (path, e))
WafError: Cannot create the folder '/var/lock/samba' (error: [Errno 2] No such
file or directory: '/var/lock/samba')
- so "Cannot create the folder '/var/lock/samba'" appears to be the
~direct cause of the problem.
Why can't '/var/lock/samba' be created: do you have '/var/lock' ;
and if so what does 'ls -laFd /var/lock' show.
/var/lock should be a symlink to /run/lock which in turn should have
permissions 1777.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page