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 <hdego...@redhat.com 
<mailto:hdego...@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@shalem ~]$ pkg-config --version
0.25
[hans@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@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
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to