[libvirt] Installing libvirt 0.8.7 Ubuntu 9.10

Hello: I'm installing libvirt 0.8.7 on Ubuntu 9.10 to work at a project at Autonomous University. But when make ./configure, I've got: checking pkg-config is at least version 0.9.0... yes checking for XMLRPC... no checking for LIBXML... no checking libxml2 xml2-config >= 2.6.0 ... configure: error: Could not find libxml2 anywhere (see config.log for details). But I've libxml2 installed on mu system marcela@santacruz:~/libvirt/libvirt-0.8.7$ dpkg -l | grep libxml2 ii libxml2 2.7.5.dfsg-1ubuntu1.2 GNOME XML library ii libxml2-utils 2.7.5.dfsg-1ubuntu1.2 XML utilities ii python-libxml2 2.7.5.dfsg-1ubuntu1.2 Python bindings for the GNOME XML library The config.log mention No package 'libxml-2.0', but this libary doesn't exit. I've attach this log to further information. Can you tell me how to follow? Thank you.

On 18/01/2011, at 10:06 PM, Marcela Castro León wrote:
Hello: I'm installing libvirt 0.8.7 on Ubuntu 9.10 to work at a project at Autonomous University. But when make ./configure, I've got:
checking pkg-config is at least version 0.9.0... yes checking for XMLRPC... no checking for LIBXML... no checking libxml2 xml2-config >= 2.6.0 ... configure: error: Could not find libxml2 anywhere (see config.log for details).
But I've libxml2 installed on mu system
marcela@santacruz:~/libvirt/libvirt-0.8.7$ dpkg -l | grep libxml2 ii libxml2 2.7.5.dfsg-1ubuntu1.2 GNOME XML library ii libxml2-utils 2.7.5.dfsg-1ubuntu1.2 XML utilities ii python-libxml2 2.7.5.dfsg-1ubuntu1.2 Python bindings for the GNOME XML library
Hi Marcela, Completely guessing here, but I think it's really looking for the libxml2 *development* package. Do you have "libxml2-dev" (or similar named package) installed? If that doesn't work, maybe a libxml2-utils or something? Did any of that help? Regards and best wishes, Justin Clift

Thank you, I've solved. 2011/1/18 Justin Clift <jclift@redhat.com>
On 18/01/2011, at 10:06 PM, Marcela Castro León wrote:
Hello: I'm installing libvirt 0.8.7 on Ubuntu 9.10 to work at a project at Autonomous University. But when make ./configure, I've got:
checking pkg-config is at least version 0.9.0... yes checking for XMLRPC... no checking for LIBXML... no checking libxml2 xml2-config >= 2.6.0 ... configure: error: Could not find libxml2 anywhere (see config.log for details).
But I've libxml2 installed on mu system
marcela@santacruz:~/libvirt/libvirt-0.8.7$ dpkg -l | grep libxml2 ii libxml2 2.7.5.dfsg-1ubuntu1.2 GNOME XML library ii libxml2-utils 2.7.5.dfsg-1ubuntu1.2 XML utilities ii python-libxml2 2.7.5.dfsg-1ubuntu1.2 Python bindings for the GNOME XML library
Hi Marcela,
Completely guessing here, but I think it's really looking for the libxml2 *development* package.
Do you have "libxml2-dev" (or similar named package) installed? If that doesn't work, maybe a libxml2-utils or something?
Did any of that help?
Regards and best wishes,
Justin Clift

Le mardi 18 janvier 2011 12:06:00, Marcela Castro León a écrit :
Hello: I'm installing libvirt 0.8.7 on Ubuntu 9.10 to work at a project at Autonomous University. But when make ./configure, I've got:
checking pkg-config is at least version 0.9.0... yes checking for XMLRPC... no checking for LIBXML... no checking libxml2 xml2-config >= 2.6.0 ... configure: error: Could not find libxml2 anywhere (see config.log for details).
But I've libxml2 installed on mu system
marcela@santacruz:~/libvirt/libvirt-0.8.7$ dpkg -l | grep libxml2 ii libxml2 2.7.5.dfsg-1ubuntu1.2 GNOME XML library ii libxml2-utils 2.7.5.dfsg-1ubuntu1.2 XML utilities ii python-libxml2 2.7.5.dfsg-1ubuntu1.2 Python bindings for the GNOME XML library
The config.log mention No package 'libxml-2.0', but this libary doesn't exit.
I've attach this log to further information.
Can you tell me how to follow? Thank you.
"libxml2" is a dependency of binary libvirt packages. To be able to build libvirt, you have to install development files for that library (libxml2-dev). I just uploaded libvirt 0.8.7-1 to Debian, since Ubuntu libvirt package are merged with Debian libvirt packages I assume it will work fine without changes on Ubuntu. Just take a look here: http://packages.debian.org/experimental/libvirt-bin Only amd64 architecture is available for now, but the other architectures will be available in the following hours. If you really want to build libvirt by hand, you can take a look here and check the build dependencies: http://git.debian.org/?p=pkg- libvirt/libvirt.git;a=blob;f=debian/control;h=193b45efe24d624eb0b3ae3fb5613a15ad97156b;hb=refs/heads/experimental -- Laurent Léonard
participants (3)
-
Justin Clift
-
Laurent Léonard
-
Marcela Castro León