[Samba] compile only samba file server components
dish kyao
dishkyaao at gmail.com
Thu Jan 8 07:50:08 MST 2015
is it possible to compile only smbd(file server) components with samba
source 4.1.12?
having -without-ad-dc and -without-winbind options in configure, still see
other commponents compiled.
using following steps to compile on AIX 6.1 with XLC.
unset LIBPATH
unset LD_LIBRARY_PATH
export InstallDir=/opt/samba
export OBJECT_MODE=64
export CC="/opt/IBM/xlC/13.1.0/bin/xlc_r -g"
export CXX="/opt/IBM/xlC/13.1.0/bin/xlC_r -g"
export CFLAGS="-qlanglvl=extc99 -q64 -I/usr/linux/include/
-I/root/samba-4.1.12/include/ -I/opt/freeware/include/python2.7/"
export CPPFLAGS="-qlanglvl=extc99 -q64 -I/usr/linux/include/
-I/root/samba-4.1.12/include/ -I/opt/freeware/include/python2.7/"
export CXXFLAGS="-qlanglvl=extc99 -q64 -I/usr/linux/include/
-I/root/samba-4.1.12/include/ -I/opt/freeware/include/python2.7/"
export LDFLAGS="-L/root/samba-4.1.12/lib/ -L/usr/linux/lib64
-L/opt/freeware/lib64/ -L/usr/lib64 -L/usr/linux/lib/ -lssl -lcrypto -lldap
-llber -liconv -lintl"
export Make=/usr/bin/make
export PATH=/opt/IBM/xlC/13.1.0/bin/:/root/samba-4.1.12/buildtools/bin:$PATH
./configure --prefix=/opt/samba \
--with-ldap \
--localstatedir=/var/opt/samba \
--libdir=/opt/samba/lib \
--with-piddir=/var/opt/samba/locks \
--with-logfilebase=/var/log/samba \
--with-privatedir=/etc/opt/samba/private \
--with-configdir=/etc/samba \
--with-lockdir=/var/opt/samba/locks \
--mandir=/opt/samba/man \
--with-pam \
--with-acl-support \
--with-quotas \
--without-ad-dc \
--with-ads \
--enable-iprint \
--without-dmapi \
--without-winbind &&
make clean install
More information about the samba
mailing list