On Thursday, March 18, 2021, Bartosz Golaszewski <[email protected]> wrote:

> On Thu, Mar 18, 2021 at 6:45 PM Khem Raj <[email protected]> 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


> Bart
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90210): 
https://lists.openembedded.org/g/openembedded-devel/message/90210
Mute This Topic: https://lists.openembedded.org/mt/81426155/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to