[Pkg-samba-maint] Configure flags.....

Jelmer Vernooij jelmer at samba.org
Thu May 16 22:05:02 UTC 2013


On Thu, May 16, 2013 at 03:53:11PM +0200, Christian PERRIER wrote:
> While looking at the result of compiling the samba_4.0 branch and
> comparing the content of generated .deb files wrt the current 3.6
> packages (thanks to a script contributed by Ivo), I noticed many file
> location problems (starting from instance with libnss_winbind.so.2).
> 
> While looking closer, I noticed that the set of configure flags used
> in samba4 package diverges noticeably from the set we have in samba
> 3.* pkgs.
> 
> So, as a first start, I branched samba_4.0 as samba_4.0_bubulle and
> started working on reconciling both.
> 
> Of course, a first attempt by just copy/pasting the list of configure
> flags from samba 3.* packages over those of debian/rules in samba_4.0
> failed miserably..:-)
> 
> One of the problems has been that some flags changed or were
> dropped. So, of course, I had to drop them and now my branch
> compiles..:-)
> 
> Here is the list of what we had in 3.6 and cannot use in compiling
> samba 4.*:
> (the point being to go over it and decide if we need a replacement or
> if the feature is no longer useful):
> 
> 
> Those are probably useless as samba will use system libraries if it
> finds them (right?)
> -               --without-libtalloc \
> -               --enable-external-libtalloc \
> -               --without-libtdb \
> -               --without-libtdb \
> -               --enable-external-libtdb \
> 
It will use them if it finds them by default, but that also means that if the
version of the libraries that is installed is too old, it will ignore them.

You can force samba to use the external libraries or error out if it doesn't
find one of them. From the samba4 debian/rules file:

--bundled-libraries=NONE,pytevent,iniparser

Cheers,

Jelmer



More information about the Pkg-samba-maint mailing list