[Pkg-samba-maint] Need help: Still unable to build 3.5

Mathieu Parent math.parent at gmail.com
Thu Dec 10 22:26:00 UTC 2009


Hello,




2009/12/10 Christian Perrier <bubulle at debian.org>:
> Quoting Mathieu Parent (math.parent at gmail.com):
>
>> checking pkg-config is at least version 0.9.0... yes
>> checking for LIBTALLOC... no
>> configure: error: Unable to find libtalloc
>> make: *** [configure] Error 1
>
> This you can avoid by asking to not use an external talloc. Not very
> satisfactory, but it helps moving to the next problem..:-)
>
>
>>
>> in source3/configure.in, line 4793, it requires talloc 2.0.1. Current
>> debian version is 2.0.0. Jelmer, any idea ?
>
> I noticed that too and this is why I (temporarily) dropped the use of
> an external libtalloc.

Looking at the config.log shows that ctdb is affected by the lack of talloc:

configure:77391: checking for ctdb.h
configure:77422: 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 -I/usr/include
conftest.c >&5
conftest.c:632:20: error: talloc.h: No such file or directory
<------------------------ ***
conftest.c:633:17: error: tdb.h: No such file or directory
<------------------------ ***
In file included from conftest.c:634:
/usr/include/ctdb.h:26: error: expected specifier-qualifier-list
before 'TDB_DATA'
/usr/include/ctdb.h:37: error: expected specifier-qualifier-list
before 'TDB_DATA'
/usr/include/ctdb.h:136: error: expected specifier-qualifier-list
before 'TDB_DATA'
/usr/include/ctdb.h:261: error: expected declaration specifiers or
'...' before 'TDB_DATA'
/usr/include/ctdb.h:273: error: expected declaration specifiers or
'...' before 'TDB_DATA'
/usr/include/ctdb.h:281: error: expected declaration specifiers or
'...' before 'TALLOC_CTX'
/usr/include/ctdb.h:282: error: expected declaration specifiers or
'...' before 'TDB_DATA'
/usr/include/ctdb.h:282: error: expected declaration specifiers or
'...' before 'TDB_DATA'
/usr/include/ctdb.h:284: error: expected declaration specifiers or
'...' before 'TDB_DATA'
/usr/include/ctdb.h:286: error: expected declaration specifiers or
'...' before 'TALLOC_CTX'

It also doesn't found tdb.

There is an earlier error:

configure:74038: checking whether the sys_quota interface works
configure:74074: 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 conftest.c >&5
In file included from include/includes.h:614,
                 from ./lib/sysquotas_linux.c:21,
                 from conftest.c:612:
./../lib/util/util.h:30:20: error: talloc.h: No such file or directory
<------------------------ ***
In file included from ./../lib/util/util.h:42,
                 from include/includes.h:614,
                 from ./lib/sysquotas_linux.c:21,
                 from conftest.c:612:

The problem is probably here first.

It seems that -I./../lib/talloc -I./../lib/tdb is missing to CPPFLAGS.

Mathieu Parent


NB: I'm using the following patch:

Index: debian/control
===================================================================
--- debian/control	(révision 3141)
+++ debian/control	(copie de travail)
@@ -7,7 +7,6 @@
 	libcups2-dev | libcupsys2-dev,
 	libacl1-dev  [alpha amd64 arm armeb armel avr32 hppa i386 ia64 lpia
m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb
sparc],
 	libkrb5-dev, libldap2-dev, po-debconf, libpopt-dev, uuid-dev,
-	libtalloc-dev (>= 2.0.1),
 	libcap2-dev  [alpha amd64 arm armeb armel avr32 hppa i386 ia64 lpia
m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb
sparc],
 	libkeyutils-dev  [alpha amd64 arm armeb armel avr32 hppa i386 ia64
lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4
sh4eb sparc],
 	ctdb (>= 1.0.103) [alpha amd64 arm armeb armel hppa i386 ia64 lpia
m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb
sparc],
Index: debian/rules
===================================================================
--- debian/rules	(révision 3140)
+++ debian/rules	(copie de travail)
@@ -58,8 +58,6 @@
 		--with-lockdir=/var/run/samba \
 		--with-statedir=/var/lib/samba \
 		--with-cachedir=/var/cache/samba \
-		--enable-external-libtalloc \
-		--without-libtalloc \
 		--disable-avahi \

 ifeq ($(DEB_HOST_ARCH_OS),linux)



More information about the Pkg-samba-maint mailing list