[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] compiling one driver

Ok, I created a .pc file with the output of xmlrpc-c-config (now pkg-config xmlrpc_client --libs --cflags is OK). The error occurs not in configure execution, but in make execution as a linking error like that:

 undefined reference to `xmlrpc_client_call

and several others similar (as I said in the first message)
I have installed the latest version of xmlrpc compiled from source.

Any idea?

On Thu, Aug 6, 2009 at 7:25 AM, Daniel Veillard <veillard redhat com> wrote:
On Thu, Aug 06, 2009 at 10:37:57AM +0200, Matthias Bolte wrote:
> Well, the basic problem seems to be that xmlrpc-c by itself doesn't
> provide a .pc file for pkg-config, but has its own script for this
> task called xmlrpc-c-config:
> xmlrpc-c-config client --cflags
> xmlrpc-c-config client --libs


> So, Fedora seems to provide an .pc file for xmlrpc-c so that this
> works on Fedora:
> But other distros don't provide a .pc or only provide an old version
> of xmlrpc-c, like Ubuntu. Ubuntu only provides 1.06 without an
> additional .pc file. So I build 1.17 from source, but that doesn't
> help as there is no .pc file for xmlrpc-c.
> I think the check in configure.in should be changed to use
> xmlrpc-c-config instead of pkg-config.

 Hum, yes if the .pc is not upstream, that's logical, though IMHO
it's probably time better spent to try to get a .pc in xmlrpc-c

 And then add a xmlrpc-c-config based check in configure.in if


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

Libvir-list mailing list
Libvir-list redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]