[libvirt-users] Configuring libvirt for one driver and XMLRPC issues

Matthias Bolte matthias.bolte at googlemail.com
Tue Sep 21 19:04:07 UTC 2010


2010/9/21 Jonathan Kelley <jkelley at vm-labs.com>:
> Hello,
>
> I am trying to run ./configure --with-one --with-esx but I get the following
> error:
>
> checking pkg-config is at least version 0.9.0... yes
> checking for XMLRPC... no
> configure: error: You must install XMLRPC-C >= 1.14.0 to compile libvirt ONE
> driver
>
> However I have downloaded xmlrpc-c-client and built from sources version
> 1.16.31
>
> root at sa251:~/libvirt-0.8.4# xmlrpc-c-config --version
> 1.16.31
> root at sa251:~/libvirt-0.8.4# xmlrpc-c-config --features
> c++ abyss-server curl-client
>
>
> What am I missing here?
>

libvirt's configure script doesn't use xmlrpc-c-config to detect
xmlrpc-c, it uses pkg-config:

$ pkg-config --modversion xmlrpc_client
1.17.7

Maybe you need to explicitly set PKG_CONFIG_PATH to point to the the
directory that contains xmlrpc_client.pc, for example:

PKG_CONFIG_PATH=/path/to/xmlrpc-c-dir ./configure --with-one --with-esx

Matthias




More information about the libvirt-users mailing list