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

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@sa251:~/libvirt-0.8.4# xmlrpc-c-config --version 1.16.31 root@sa251:~/libvirt-0.8.4# xmlrpc-c-config --features c++ abyss-server curl-client What am I missing here? Thanks, Jon

2010/9/21 Jonathan Kelley <jkelley@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@sa251:~/libvirt-0.8.4# xmlrpc-c-config --version 1.16.31 root@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

Any idea why I wouldn't have this file on my system after building from sources? -Jon On Tue, Sep 21, 2010 at 3:04 PM, Matthias Bolte < matthias.bolte@googlemail.com> wrote:
2010/9/21 Jonathan Kelley <jkelley@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@sa251:~/libvirt-0.8.4# xmlrpc-c-config --version 1.16.31 root@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
participants (2)
-
Jonathan Kelley
-
Matthias Bolte