ldb (v4-0-test) and samba 4.0.0alpha6 do not link against tevent + fixes

simo idra at samba.org
Sat Apr 18 23:42:13 GMT 2009


On Sat, 2009-04-18 at 14:59 -0700, Eric Sandall wrote:
> samba 4.0.0alpha6

you should use alpha7, it has been released exactly to help build
openchange in fedora.

>  cannot find tevent_util.h

> Linking bin/python/samba/dcerpc/security.so
> Compiling ../lib/tevent/pytevent.c
> ../lib/tevent/pytevent.c:27:25: error: tevent_util.h: No such file or
> directory The following command failed:
> gcc -march=core2 -m32 -pipe -DPIC -fPIC -O2 -fomit-frame-pointer
> -I/usr/include/python2.6 -I/usr/include/python2.6 -Ilib/replace
> -march=core2 -m32 -pipe -DPIC -fPIC -O2 -fomit-frame-pointer
> -I/usr/include/python2.6 -I/usr/include/python2.6   -fPIC -I./include
> -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./..
> -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -c ../lib/tevent/pytevent.c
> -o ../lib/tevent/pytevent.o make: *** [../lib/tevent/pytevent.o] Error
> 1
> 
> tevent does not install tevent_util.h, only tevent.h.


I am not sure why pytevent.c can't find it but it is probably some but
in pytevent.

> I've attached a patch (tevent-util.patch) to fix tevent to install
> tevent_util.h.

tevent_util.h is an internal header file used only for building
libtevent.
It must not be installed.

> I've also filed the following bugs, with the fixes:
> https://bugzilla.samba.org/show_bug.cgi?id=6269
> https://bugzilla.samba.org/show_bug.cgi?id=6270
> 
> With these fixes I am now able to install ldb and samba4, then go on
> to
> install libmapi and evolution-mapi. :)

The first patch is probably right, for tevent_util.h the problem is
elsewhere, installing tevent_util.h is not the proper fix.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list