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: Erik Rull
Subject: Re: [Qemu-devel] [RFC] allow special paths for libusbx
Date: Wed, 27 Nov 2013 12:33:30 +0100 (CET)

> On November 27, 2013 at 11:38 AM Paolo Bonzini <address@hidden> wrote:
>
>
> 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

Hi Paolo,

hm, sounds reasonable. I will try that and let you know if it worked.

Best regards,

Erik



reply via email to

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