# Note: depends on Python2 # Note: depends on perl # Note: depends on pkg-config wget -c https://download.samba.org/pub/samba/stable/samba-4.4.5.tar.gz tar -xzf samba-4.4.5.tar.gz cd samba-4.4.5 # Use --without-* flags as required ./configure --prefix="/usr" --enable-fhs --sysconfdir="/etc" --localstatedir="/var" --without-acl-support --without-ldap --without-ads --without-automount --without-regedit echo '#undef HAVE_RPCSVC_YP_PROT_H' >> bin/default/include/config.h make # Doesn't mind -j# make install