On Thu, Mar 18, 2021 at 9:26 PM Khem Raj <raj.k...@gmail.com> wrote:
>
>
>
> On Thursday, March 18, 2021, Bartosz Golaszewski <b...@bgdev.pl> wrote:
>>
>> On Thu, Mar 18, 2021 at 6:45 PM Khem Raj <raj.k...@gmail.com> wrote:
>> >
>> > On Thu, Mar 18, 2021 at 11:47:30AM +0100, Bartosz Golaszewski wrote:
>> > > I'm trying to add mpv to an image using the minimal-x-session. The
>> > > build fails with the following error at do_configure():
>> > >
>> > > | Checking for X11
>> > >      : no ('x11 >= 1.0.0 xscrnsaver >= 1.0.0 xext >= 1.0.0 xinerama >=
>> > > 1.0.0 xrandr >= 1.2.0' not found)
>> > > | You manually enabled the feature 'x11', but the autodetection check 
>> > > failed.
>> > >
>> > > If I build the core-image-x11 image, mpv builds just fine so I assume
>> > > I'm missing something in my custom image (or rather some dependency
>> > > isn't pulled in by the recipe).
>> > >
>> > > Any idea on what could be missing?
>> > >
>> >
>> > do you have x11 in DISTRO_FEATURES looking at config.log file might
>> > reveal more on missing dependencies.
>> >
>>
>> Yes I do. It looks like the build is looking for
>> /recipe-sysroot/usr/lib/pkgconfig/xrandr.pc (provided by
>> libxrandr-dev) and it finds it on current master but not on dunfell
>> that I'm using.
>>
>> It doesn't look right, does it? Shouldn't it look in
>> recipe-sysroot-native for any such development files?
>
>
> Yeah sometime with-x option is needed to let it find in right sysroot 
> otherwise autoconf has mind of its own at times and pokes at build host
>

I haven't made myself clear - the xrandr.pc file is not there on
dunfell but it is present on master. Looks like libxrandr-dev isn't
pulled in on dunfell but is on master.

Bart
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90220): 
https://lists.openembedded.org/g/openembedded-devel/message/90220
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to