[libvirt] libvirt 0.9.3, missing header

Jason Helfman jhelfman at e-e.com
Wed Jul 6 14:33:54 UTC 2011


On Wed, Jul 06, 2011 at 08:49:19AM +0200, Matthias Bolte thus spake:
>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
>

Thanks! This patch worked and built in the clean environment with no issues.
I'll submit the update today to FreeBSD.
-j

-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5




More information about the libvir-list mailing list