qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] allow special paths for libusbx


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC] allow special paths for libusbx
Date: Wed, 27 Nov 2013 11:38:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 27/11/2013 11:24, Erik Rull ha scritto:
> no I have no libusbx installed. I just downloaded the tar.bz2, unpacked it,
> configure'd it and called make.

I think your patch wouldn't be enough to actually run QEMU, because the
path to libusbx.so is not in LD_LIBRARY_PATH (and if you can change
LD_LIBRARY_PATH, you can also change PKG_CONFIG_PATH).

The right way to do it is:

* add --prefix=$HOME to your configure command line.

* call "make install" after "make"

* add $HOME/lib to your LD_LIBRARY_PATH

* add the right subdirectory of $HOME/lib to your PKG_CONFIG_PATH

* test that it works with "pkg-config --cflags libusb-1.0"

* configure QEMU with no extra options

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]