
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