From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcWF-0001Kt-T8 for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:39:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlcW6-0006SU-3y for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:38:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlcW5-0006SN-S8 for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:38:46 -0500 Message-ID: <5295CBB2.50007@redhat.com> Date: Wed, 27 Nov 2013 11:38:42 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1602530144.326084.1385546959951.open-xchange@email.1und1.de> <5295C5EC.3060700@redhat.com> <1170772461.327690.1385547854955.open-xchange@email.1und1.de> In-Reply-To: <1170772461.327690.1385547854955.open-xchange@email.1und1.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] allow special paths for libusbx List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Rull Cc: "qemu-devel@nongnu.org" , Gerd Hoffmann 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