* [Buildroot] Failed to build libexoxy with nvidia-driver
@ 2017-08-28 15:53 Alexandre Maumené
2017-08-28 20:57 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Maumené @ 2017-08-28 15:53 UTC (permalink / raw)
To: buildroot
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
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EGL_CFLAGS
and EGL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I'm new to buildroot and I don't know much about Nvidia binary drivers.
Any help will be more than welcome.
Regards,
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Failed to build libexoxy with nvidia-driver
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
0 siblings, 2 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2017-08-28 20:57 UTC (permalink / raw)
To: buildroot
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?
Perhaps we should add a check in the lib*gl* virtual packages that they install
a .pc file...
Regards,
Arnout
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables EGL_CFLAGS
> and EGL_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> I'm new to buildroot and I don't know much about Nvidia binary drivers.
> Any help will be more than welcome.
>
> Regards,
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Failed to build libexoxy with nvidia-driver
2017-08-28 20:57 ` Arnout Vandecappelle
@ 2017-08-29 2:13 ` Alexandre Maumené
2017-08-29 15:40 ` Yann E. MORIN
1 sibling, 0 replies; 5+ messages in thread
From: Alexandre Maumené @ 2017-08-29 2:13 UTC (permalink / raw)
To: buildroot
Hi,
I've copied the egl.pc from
package/nvidia-tegra23/nvidia-tegra23-binaries/egl.pc to
package/nvidia-driver and added this line $(INSTALL) -D -m 0644
package/nvidia-driver/egl.pc $(STAGING_DIR)/usr/lib/pkgconfig/egl.pc to
package/nvidia-driver/nvidia-drive.mk and it seems to compile fine now.
Thanks for your help :)
On Tue, Aug 29, 2017, at 04:57 AM, Arnout Vandecappelle wrote:
>
>
> 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?
>
> Perhaps we should add a check in the lib*gl* virtual packages that they
> install
> a .pc file...
>
> Regards,
> Arnout
>
> >
> > Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > installed software in a non-standard prefix.
> >
> > Alternatively, you may set the environment variables EGL_CFLAGS
> > and EGL_LIBS to avoid the need to call pkg-config.
> > See the pkg-config man page for more details.
> >
> > I'm new to buildroot and I don't know much about Nvidia binary drivers.
> > Any help will be more than welcome.
> >
> > Regards,
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> >
>
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Failed to build libexoxy with nvidia-driver
2017-08-28 20:57 ` Arnout Vandecappelle
2017-08-29 2:13 ` Alexandre Maumené
@ 2017-08-29 15:40 ` Yann E. MORIN
2017-08-29 15:53 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2017-08-29 15:40 UTC (permalink / raw)
To: buildroot
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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Failed to build libexoxy with nvidia-driver
2017-08-29 15:40 ` Yann E. MORIN
@ 2017-08-29 15:53 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2017-08-29 15:53 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 29 Aug 2017 17:40:54 +0200, Yann E. MORIN wrote:
> > 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... :-/
Not having a .pc file for EGL/OpenGLES, etc. will break lots and lots
of packages. So I think it is a good idea to force people submitting
OpenGL implementations to make sure a .pc file is installed.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-29 15:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-08-29 15:53 ` Thomas Petazzoni
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.