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

Christophe Fergeau cfergeau at redhat.com
Mon Dec 19 05:20:34 PST 2011


Hi,

On Mon, Dec 19, 2011 at 01:58:57PM +0100, Marc-André Lureau wrote:
> 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?

Ah, I'm getting this too. @libdir@ gets expanded to ${exec_prefix}/lib
that's why it tries to use it. Let me send a patch

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111219/eca6bdea/attachment.pgp>


More information about the Spice-devel mailing list