tce-load -i compiletc libtirpc-dev cups-dev python-dev perl5 acl-dev cd samba-4.6.3 echo "^samba4.rpc.echo.*on.*ncacn_np.*with.*object.*nt4_dc" >> selftest/knownfail CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib/samba --with-piddir=/var/run --enable-fhs --without-ad-dc --without-systemd --enable-selftest --with-logfilebase=/var/log --without-ldap --without-ads make [16m 20.22s] sudo make install sudo install -m644 examples/smb.conf.default /usr/local/etc/samba sudo ln -sf /usr/local/bin/smbspool /usr/local/lib/cups/backend/smb