Discussion:
[blfs-support] Samba Install Fails
Alan Feuerbacher
2014-09-20 17:39:28 UTC
Permalink
Trying to install Samba-4.1.11 per the BLFS book (systemd edition) -
Version 2014-09-19.

Everything seemed to work fine up to the line:

make install

This spit out a pile of information like this:

#########
WAF_MAKE=1 python .buildtools/bin/waf install
Waf: Entering directory '/sources/samba-4.1.11/bin'
. . .
WafError: Cannot creat folder 'var/lock/samba' (original error: [Errno
2] No such file or directory: '/var/lock/samba')
##########

I have not been able to find any online information about this error,
although I haven't spent a great deal of time on it.

Any suggestion on how to get past this?

Alan
Armin K.
2014-09-20 17:53:34 UTC
Permalink
Post by Alan Feuerbacher
Trying to install Samba-4.1.11 per the BLFS book (systemd edition) -
Version 2014-09-19.
make install
#########
WAF_MAKE=1 python .buildtools/bin/waf install
Waf: Entering directory '/sources/samba-4.1.11/bin'
. . .
WafError: Cannot creat folder 'var/lock/samba' (original error: [Errno
2] No such file or directory: '/var/lock/samba')
##########
I have not been able to find any online information about this error,
although I haven't spent a great deal of time on it.
Any suggestion on how to get past this?
Alan
Are you building in chroot? /var/lock should be a symlink to /run/lock
and /run/lock should exist as a directory which is on /run tmpfs when
system is booted.
--
Note: My last name is not Krejzi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20140920/e3b055ef/attachment.sig>
Alan Feuerbacher
2014-09-21 03:13:12 UTC
Permalink
Post by Armin K.
Post by Alan Feuerbacher
Trying to install Samba-4.1.11 per the BLFS book (systemd edition) -
Version 2014-09-19.
make install
#########
WAF_MAKE=1 python .buildtools/bin/waf install
Waf: Entering directory '/sources/samba-4.1.11/bin'
. . .
WafError: Cannot creat folder 'var/lock/samba' (original error: [Errno
2] No such file or directory: '/var/lock/samba')
##########
I have not been able to find any online information about this error,
although I haven't spent a great deal of time on it.
Any suggestion on how to get past this?
Alan
Are you building in chroot? /var/lock should be a symlink to /run/lock
and /run/lock should exist as a directory which is on /run tmpfs when
system is booted.
Building in chroot was the problem. I started systemd LFS again and
installed Samba from there. Success!

Thank you!

Alan

Loading...