From: Paolo Bonzini <pbonzini@redhat.com>
To: Erik Rull <erik.rull@rdsoftware.de>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [RFC] allow special paths for libusbx
Date: Wed, 27 Nov 2013 11:38:42 +0100 [thread overview]
Message-ID: <5295CBB2.50007@redhat.com> (raw)
In-Reply-To: <1170772461.327690.1385547854955.open-xchange@email.1und1.de>
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
next prev parent reply other threads:[~2013-11-27 10:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 10:09 [Qemu-devel] [RFC] allow special paths for libusbx Erik Rull
2013-11-27 10:14 ` Paolo Bonzini
2013-11-27 10:24 ` Erik Rull
2013-11-27 10:38 ` Paolo Bonzini [this message]
2013-11-27 11:33 ` Erik Rull
2013-11-27 13:19 ` Erik Rull
2013-11-27 10:25 ` Daniel P. Berrange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5295CBB2.50007@redhat.com \
--to=pbonzini@redhat.com \
--cc=erik.rull@rdsoftware.de \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.