What version of CTDB is needed to build Samba 3.6 Master?

Christian PERRIER bubulle at debian.org
Thu Aug 11 15:04:42 MDT 2011

Quoting Richard Sharpe (realrichardsharpe at gmail.com):
> On Thu, Aug 11, 2011 at 1:25 PM, Hammitt, Charles Allen
> <chammitt at email.unc.edu> wrote:
> >
> > I would think this means samba wasn't compiled with cluster support [--with-cluster-support] [samba 3.2 or later required]
> >
> > The C part of ctdb means clustered, so I'd think not that ctdb is to blame here...see samba config...
> Thanks for your response. My attempt to build was based around a
> modified (by me) version if the SerNet supplied RPM SPEC file for
> Samba with the following flags passed to configure:
>         --with-cluster-support \
>         --enable-old-ctdb \
> I just found --enable-old-ctdb so I added that, but have now run into
> problems with modules/vfs_prealloc.c
> modules/vfs_prealloc.c: In function 'prealloc_open':
> modules/vfs_prealloc.c:129: error: 'O_CREAT' undeclared (first use in
> this function)
> Looks like someone is not including fcntl.h or something.
> Anyway, I would still like to know which version of CTDB I should use
> so I can avoid any issues with --enable-old-ctdb

People more ctdb-clever than me (particularly the maintainer of ctdb
in Debian, Mathieu parent) would be more precise, but, for
Debian, we build 3.6.0 with ctdb >= 1.10+git20110412....so it seems
that it would be recommended to use a very recent ctdb....

More information about the samba-technical mailing list