[libvirt] Regarding the installtion of libvirt on ubuntu

I have installed libvirt-bin on ubuntu using the following command:sudo apt-get install libvirt-bin I checked the virsh version. It says 4.6.0.Now i want to recompile libvirt with esx, xen and hyperv driver.Therefore i went to /usr/src/libvirt-4.6.0 and trying to run the following command:./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-esx=yes --with-xen=yes but i am getting the following error:error: you must install the gnutls>=3.2.0 pkg-config module to compile libvirt. So i have installed gnutls-binand it is already the latest version. Why libvirt is not able to identify gnutls... what is the solution for this??? Thanks & Regards,Mousumi Paul---Senior R & D Engineer Vigyanlabs Innovations Private Limited

On Wed, Oct 03, 2018 at 12:32:04PM +0000, Mousumi Paul wrote:
I have installed libvirt-bin on ubuntu using the following command:sudo apt-get install libvirt-bin I checked the virsh version. It says 4.6.0.Now i want to recompile libvirt with esx, xen and hyperv driver.Therefore i went to /usr/src/libvirt-4.6.0 and trying to run the following command:./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-esx=yes --with-xen=yes
but i am getting the following error:error: you must install the gnutls>=3.2.0 pkg-config module to compile libvirt.
So i have installed gnutls-binand it is already the latest version. Why libvirt is not able to identify gnutls... what is the solution for this???
Again, you'll need the -dev package, not the -bin package. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

On Tue, 2018-10-09 at 13:34 +0100, Daniel P. Berrangé wrote:
On Wed, Oct 03, 2018 at 12:32:04PM +0000, Mousumi Paul wrote:
I have installed libvirt-bin on ubuntu using the following command:sudo apt-get install libvirt-bin I checked the virsh version. It says 4.6.0.Now i want to recompile libvirt with esx, xen and hyperv driver.Therefore i went to /usr/src/libvirt-4.6.0 and trying to run the following command:./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-esx=yes --with-xen=yes
but i am getting the following error:error: you must install the gnutls>=3.2.0 pkg-config module to compile libvirt.
So i have installed gnutls-binand it is already the latest version. Why libvirt is not able to identify gnutls... what is the solution for this???
Again, you'll need the -dev package, not the -bin package.
Also, if you have further questions please direct them to the libvirt-users mailing list: libvir-list is for discussing the development of libvirt itself. -- Andrea Bolognani / Red Hat / Virtualization
participants (3)
-
Andrea Bolognani
-
Daniel P. Berrangé
-
Mousumi Paul