Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Failed to build libexoxy with nvidia-driver
Date: Tue, 29 Aug 2017 17:40:54 +0200	[thread overview]
Message-ID: <20170829154054.GA3338@scaer> (raw)
In-Reply-To: <d5446a67-383f-a813-58c2-2d51d6999181@mind.be>

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.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2017-08-29 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 15:53 [Buildroot] Failed to build libexoxy with nvidia-driver Alexandre Maumené
2017-08-28 20:57 ` Arnout Vandecappelle
2017-08-29  2:13   ` Alexandre Maumené
2017-08-29 15:40   ` Yann E. MORIN [this message]
2017-08-29 15:53     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170829154054.GA3338@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox