[yocto] DEPENDS=libusb1 | libusb-compat not building package

Burton, Ross ross.burton at intel.com
Thu Oct 4 11:00:58 PDT 2018


The recipe you're after for DEPENDS is libusb1.  If that doesn't work
then there's a bug in the configure script.

Ross
On Thu, 4 Oct 2018 at 18:19, Tim Hammer <tdhammer99 at gmail.com> wrote:
>
> I am trying to write a recipe for cc-tool (https://sourceforge.net/projects/cctool/) and ran into the following error during the build:
>
> | checking for libusb-1.0 >= 1.0.0... no
> | configure: error: Package requirements (libusb-1.0 >= 1.0.0) were not met:
> |
> | No package 'libusb-1.0' found
>
>
> I have added "libusb1" and then tried "libusb-compat" and also "libusb" as well as "libusb-1.0" to my recipe's DEPENDS but nothing gets fetched/built.
>
> I previously encountered the same failure with Boost and adding it to DEPENDS was the solution. What am I missing for libusb-1.0?
>
> Do I need to instead modify the configure input to look in a different location for libusb-1.0?
> --
>
> .Tim
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list