[libvirt] libvirt 0.9.3, missing header

Matthias Bolte matthias.bolte at googlemail.com
Wed Jul 6 06:49:19 UTC 2011


2011/7/6 Jason Helfman <jhelfman at e-e.com>:
> When building the latest code in a clean building environment, with sasl
> disabled, I get this error:
>
> gmake[3]: Entering directory
> `/work/a/ports/devel/libvirt/work/libvirt-0.9.3/daemon'
> CC libvirtd-libvirtd.o
> In file included from libvirtd.h:41,
> from libvirtd.c:41:
> ../src/rpc/virnetsaslcontext.h:24:24: error: sasl/sasl.h: No such file or
> directory
> In file included from libvirtd.h:41,
> from libvirtd.c:41:
> ../src/rpc/virnetsaslcontext.h:54: warning: type defaults to 'int' in
> declaration of 'sasl_callback_t'
> ../src/rpc/virnetsaslcontext.h:54: error: expected ';', ',' or ')' before
> '*' token
> ../src/rpc/virnetsaslcontext.h:78: error: expected declaration specifiers or
> '...' before 'sasl_interact_t'
> ../src/rpc/virnetsaslcontext.h:86: error: expected declaration specifiers or
> '...' before 'sasl_interact_t'
> gmake[3]: *** [libvirtd-libvirtd.o] Error 1
> gmake[3]: Leaving directory
> `/work/a/ports/devel/libvirt/work/libvirt-0.9.3/daemon'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/work/a/ports/devel/libvirt/work/libvirt-0.9.3/daemon'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/work/a/ports/devel/libvirt/work/libvirt-0.9.3'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Any ideas?
>
> Thanks,
> Jason

I think this patch, that I've just pushed, from Jean-Baptiste will fix
your problem

https://www.redhat.com/archives/libvir-list/2011-July/msg00188.html

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list