[Buildroot] Failed to build libexoxy with nvidia-driver

Yann E. MORIN yann.morin.1998 at free.fr
Tue Aug 29 15:40:54 UTC 2017


Arnout, All,

On 2017-08-28 22:57 +0200, Arnout Vandecappelle spake thusly:
> On 28-08-17 17:53, Alexandre Maumené wrote:
> > Hi,
> > 
> > I'm trying to build libepoxy with nvidia-driver but it fails with this
> > error:
> > 
> > checking for EGL... no
> > configure: error: Package requirements (egl) were not met:
> > 
> > Package egl was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `egl.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'egl', required by 'world', not found
> 
>  Indeed, nvidia-driver selects BR2_PACKAGE_HAS_LIBEGL but doesn't install egl.pc
> (it does install gl.pc). And there's also no glesv2.pc. Jérôme, Yann, could you
> look into it?

I see Alexandre already reported sucess and explained the hack he did.
I'll look into submiting a proper patch soonish.

>  Perhaps we should add a check in the lib*gl* virtual packages that they install
> a .pc file...

Gut feelings only, but no. It is perfectly legit to be a provider of EGL
(or whatever other GL stuff) and not provide a .pc file with that.

However, I can see the benefit for consistency. But then, it puts some
burden on the packager which upstream do not provide a .pc file, to
write their own... :-/

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list