All of lore.kernel.org
 help / color / mirror / Atom feed
* DEPENDS=libusb1 | libusb-compat not building package
@ 2018-10-04 17:14 Tim Hammer
  2018-10-04 18:00 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Hammer @ 2018-10-04 17:14 UTC (permalink / raw)
  To: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1529 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEPENDS=libusb1 | libusb-compat not building package
  2018-10-04 17:14 DEPENDS=libusb1 | libusb-compat not building package Tim Hammer
@ 2018-10-04 18:00 ` Burton, Ross
  2018-10-04 18:23   ` Tim Hammer
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2018-10-04 18:00 UTC (permalink / raw)
  To: tdhammer99; +Cc: Yocto-mailing-list

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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEPENDS=libusb1 | libusb-compat not building package
  2018-10-04 18:00 ` Burton, Ross
@ 2018-10-04 18:23   ` Tim Hammer
  2018-10-08 15:37     ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Hammer @ 2018-10-04 18:23 UTC (permalink / raw)
  To: ross.burton; +Cc: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

Even with libusb1 in DEPENDS it fails. It may be in the configure script
(which works fine "outside" of a bitbake build), but what I am confused
about is the lack of any libusb content in my cc-tool build tree.

When I added boost to the DEPENDS, I got the headers and libraries in
recipe-sysroot/...
I am not getting any libusb stuff there with libusb1 in DEPENDS.


On Thu, Oct 4, 2018 at 2:01 PM Burton, Ross <ross.burton@intel.com> wrote:

> 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@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@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>


-- 

.Tim

[-- Attachment #2: Type: text/html, Size: 2589 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEPENDS=libusb1 | libusb-compat not building package
  2018-10-04 18:23   ` Tim Hammer
@ 2018-10-08 15:37     ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2018-10-08 15:37 UTC (permalink / raw)
  To: Tim Hammer; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]

Yes, that's odd.  Can you share the recipe?

Ross

On Thu, 4 Oct 2018 at 19:24, Tim Hammer <tdhammer99@gmail.com> wrote:

>
> Even with libusb1 in DEPENDS it fails. It may be in the configure script
> (which works fine "outside" of a bitbake build), but what I am confused
> about is the lack of any libusb content in my cc-tool build tree.
>
> When I added boost to the DEPENDS, I got the headers and libraries in
> recipe-sysroot/...
> I am not getting any libusb stuff there with libusb1 in DEPENDS.
>
>
> On Thu, Oct 4, 2018 at 2:01 PM Burton, Ross <ross.burton@intel.com> wrote:
>
>> 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@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@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> --
>
> .Tim
>

[-- Attachment #2: Type: text/html, Size: 3019 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-08 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 17:14 DEPENDS=libusb1 | libusb-compat not building package Tim Hammer
2018-10-04 18:00 ` Burton, Ross
2018-10-04 18:23   ` Tim Hammer
2018-10-08 15:37     ` Burton, Ross

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.