Jonathan Kelley
2010-Sep-21 18:21 UTC
[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 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? Thanks, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100921/38056fd9/attachment.htm>
Matthias Bolte
2010-Sep-21 19:04 UTC
[libvirt-users] Configuring libvirt for one driver and XMLRPC issues
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