From: raveenpl on

Hello,

I am currently trying to compile newest samba 3.5.3 with ctdb (from git
repository) on Debian Lenny (version 5.0.4).

I am using following 'configure' command:
./configure --with-cluster-support --with-shared-modules=idmap_tdb2
--with-ads --enable-pie=no

and unfortunatelly I have following error:

checking for ctdb.h... no
checking for ctdb_private.h... no
checking for CTDB_CONTROL_TRANS3_COMMIT declaration... yes
checking for struct ctdb_tcp_client... no
checking for struct ctdb_control_tcp... yes
checking for struct ctdb_control_tcp_addr... yes
checking cluster support... configure: error: "ctdb_private.h is required
for cluster support"

In config.log I can see:

configure:73944: checking for ctdb.h
configure:73975: gcc -c -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace
-I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt
-I/usr/include -DLDAP_DEPRECATED -Iinclude -I./include -I. -I.
-I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./..
-I./../lib/popt -I./../lib/talloc -I../lib/tdb/include conftest.c >&5
In file included from conftest.c:602:
/usr/local/include/ctdb.h:180: error: stray '#' in program
/usr/local/include/ctdb.h:180: error: expected ';', ',' or ')' before
'__USED_RESERVED_WORD_private__'
/usr/local/include/ctdb.h:208: error: expected declaration specifiers or
'...' before 'ctdb_callback_t'
/usr/local/include/ctdb.h:250: error: stray '#' in program
/usr/local/include/ctdb.h:250: error: expected ';', ',' or ')' before
'__USED_RESERVED_WORD_private__'
/usr/local/include/ctdb.h:267: error: expected declaration specifiers or
'...' before 'ctdb_rrl_callback_t'
/usr/local/include/ctdb.h:313: error: expected declaration specifiers or
'...' before 'ctdb_callback_t'
/usr/local/include/ctdb.h:339: error: expected declaration specifiers or
'...' before 'ctdb_callback_t'
/usr/local/include/ctdb.h:385: error: expected declaration specifiers or
'...' before 'ctdb_callback_t'
/usr/local/include/ctdb.h:413: error: expected declaration specifiers or
'...' before 'ctdb_callback_t'

Any tips?

Please let me know if more details is needed.

Thanks!

Best regards

--
View this message in context: http://old.nabble.com/SAMBA-%2B-CTDB-tp28953026p28953026.html
Sent from the Samba - General mailing list archive at Nabble.com.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba