ldb (v4-0-test) and samba 4.0.0alpha6 do not link against
tevent + fixes
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
> 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
> I've attached a patch (tevent-util.patch) to fix tevent to install
tevent_util.h is an internal header file used only for building
It must not be installed.
> I've also filed the following bugs, with the fixes:
> With these fixes I am now able to install ldb and samba4, then go on
> 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.
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