./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/run/samba \
--with-pammodulesdir=/lib/security \
--without-systemd \
--enable-fhs \
--enable-nss-wrapper &&
说明
--enable-fhs 一般和一个几个选项一起用 FHS指的是 Filesystem Hierarchy Standard
Use FHS-compliant paths (default no)
You should consider using this together with:
--prefix=/usr --sysconfdir=/etc --localstatedir=/var
另一个配置实例:
cd samba-4.0.3
./configure \
--enable-debug \
--enable-selftest \
--disable-cups \
--disable-gnutls \
--enable-fhs \
--prefix=/usr/local \
--sysconfdir=/etc \
--localstatedir=/var \
--datarootdir=/usr/share \
--with-privatedir=/etc/samba/private
# --with-aio-support
另一个配置:
./configure --enable-fhs --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
> --datarootdir=/usr/share \
> --disable-cups