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

Jonathan Kelley jkelley at vm-labs.com
Tue Sep 21 19:39:31 UTC 2010


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 at googlemail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100921/61357711/attachment.htm>


More information about the libvirt-users mailing list