[libvirt-users] build libvirt from source yourself and make sure to get the XenAPI driver enabled.

Lovocas Mou la.moujian at gmail.com
Fri Aug 19 09:15:11 UTC 2011


Hi,
   I want install libvirt on my ubuntu11.04, and I want to test using
libvirt to manage a xenserver,

after download the tar and extract them
when in this step : ./configure --with-esx --with-xenapi
--prefix=/opt/libvirt


....
checking for xen_vm_start in -lxenserver... no
configure: error: You must install the XenServer Library to compile XenAPI
driver with -lxenserver
.....
I get this error, but i get very few information about it from google.


>>libvirt can use XenAPI via libxenserver [1]. That should allow you to
>> use libvirt with a Citrix XenServer. You can use virsh like this
>> assuming you have a libxenserver enabled libvirt:
>>
>> virsh -c xenapi://my-xen-server
>>
>> But it's true, there is no documentation about this on the libvirt website
>> yet.
>>
>> [1] http://community.citrix.com/display/xs/Download+SDKs

I download the libxenserver source and binary file from the above url, but I
don't know how to install it and how to use -lxenserver,
can anyone help me?


thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110819/c0a3ea27/attachment.htm>


More information about the libvirt-users mailing list