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

Richard Sharpe realrichardsharpe at gmail.com
Thu Aug 11 14:35:14 MDT 2011


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

-- 
Regards,
Richard Sharpe


More information about the samba-technical mailing list