[Pkg-samba-maint] Compiling Samba

Christian Perrier bubulle at debian.org
Fri Oct 5 16:20:08 UTC 2007


Quoting Csányi Krisztián (chris at externet.hu):
> Hi,
> 
> I'm Chris from Hungary.
> 
> I'd like to know the complete ./configure parameters when you
> compile Samba.

In the Debian package? Well, that's easy to see by getting the Debian
package source with "apt-get source samba" and look to debian/rules:

conf_args = \
                --cache-file=./config.cache \
                --with-fhs \
                --enable-shared \
                --enable-static \
                --disable-pie \
                --prefix=/usr \
                --sysconfdir=/etc \
                --libdir=/etc/samba \
                --with-privatedir=/etc/samba \
                --with-piddir=/var/run/samba \
                --localstatedir=/var \
                --with-rootsbindir=/sbin \
                --with-pammodulesdir=/lib/security \
                --with-pam \
                --with-syslog \
                --with-utmp \
                --with-readline \
                --with-pam_smbpass \
                --with-libsmbclient \
                --with-winbind \
                --with-shared-modules=idmap_rid,idmap_ad \
                --with-automount \
                --with-ldap \
                --with-ads

ifeq ($(DEB_HOST_ARCH_OS),linux)
  conf_args += \
                --with-smbmount --with-cifsmount \
                --with-acl-support \
                --with-quotas
  mount_cifs    = yes
  smbfs         = yes
else
  conf_args +=  --without-quotas --without-smbmount --without-cifsmount
  mount_cifs    = no
  smbfs         = no
endif

ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
  conf_args += --build $(DEB_BUILD_GNU_TYPE)
else
  conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20071005/9c17b20a/attachment.pgp 


More information about the Pkg-samba-maint mailing list