Re: [libvirt] compiling one driver

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

 



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

  Okay

> So, Fedora seems to provide an .pc file for xmlrpc-c so that this
> works on Fedora:
> 
> PKG_CHECK_MODULES(XMLRPC, xmlrpc_client >= $XMLRPC_REQUIRED, ...)
> 
> 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
upstream.

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

Daniel

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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]