[Samba] Howto switch from distribution to self compiled?

Kris Lou klou at themusiclink.net
Wed May 24 16:30:50 UTC 2017


In switching from pre-compiled to self-compiled packages, we found it
easier to just modify the ./configure arguments to point the desired
(previous) directories.

i.e.

./configure --with-configdir=/etc/samba --sbindir=/usr/sbin
--bindir=/usr/bin --with-logfilebase=/var/log/samba --libdir=/usr/lib64
--with-modulesdir=/usr/lib64/samba --with-lockdir=/var/cache/samba
--with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba
--with-piddir=/var/run/samba --with-privatedir=/var/lib/samba/private

(Note: these may not be the same paths as you've listed)


More information about the samba mailing list