[Spice-devel] [PATCH spice-gtk 00/10]: Move USB event handling to a separate thread

Hans de Goede hdegoede at redhat.com
Mon Dec 19 05:02:53 PST 2011


Hi,

On 12/19/2011 01:58 PM, Marc-André Lureau wrote:
> Hi
>
> On Mon, Dec 19, 2011 at 12:24 PM, Hans de Goede <hdegoede at redhat.com <mailto:hdegoede at redhat.com>> wrote:
>
>     Hi All,
>
>     Well it has been long in the making, but here it finally is :)
>
>     Note that if you want to compile with usbredir support after this patch set
>     you will need the latest usbredir from git, grab it here:
>     http://cgit.freedesktop.org/~jwrdegoede/usbredir/
>
>
> I am using master branch, but I get the following error when running ./configure in spice-gtk:
>
> configure: error: Package requirements (libusbredirhost >= 0.3.2) were not met:
>
> Variable 'exec_prefix' not defined in '/usr/local/lib/pkgconfig/libusbredirhost.pc'
>
> $ pkg-config --modversion libusbredirhost
> Variable 'exec_prefix' not defined in '/usr/local/lib/pkgconfig/libusbredirhost.pc'
>
>
> $ cat /usr/local/lib/pkgconfig/libusbredirhost.pc
> prefix=/usr/local/stow/usbredir
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Name: libusbredirhost
> Description: usbredirhost library
> Version: 0.3.2
> Libs: -L${libdir} -lusbredirhost
> Requires.private: libusb-1.0 libusbredirparser
> Cflags: -I${includedir}
>
> $ pkg-config --version
> 0.25
>
> You don't get this error?

No:

[hans at shalem ~]$ pkg-config --version
0.25
[hans at shalem ~]$ pkg-config --modversion libusbredirhost
0.3.2

Weird but true, maybe you've a different
Fedora build and this was changes inside
the Fedora package? :
[hans at shalem ~]$ rpm -q pkgconfig
pkgconfig-0.25-3.fc15.x86_64

Anyways a patch to fix this is welcome. Note I've requested
a proper git repo for usbredir on freedesktop.org a while ago,
I hope it will be ready soon.

Regards,

Hans


More information about the Spice-devel mailing list