Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515104 - media-tv/xbmc[gles] should depend on media-libs/mesa[gles2] - checking for main in -lGLESv2... no -//- configure: error: Could not find a required library
Summary: media-tv/xbmc[gles] should depend on media-libs/mesa[gles2] - checking for ma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 15:34 UTC by A. Person
Modified: 2014-07-29 08:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2014-06-25 15:34:17 UTC
media-tv/xbmc on my Pandaboard ES requires media-libs/mesa[gles2] to compile, otherwise I get:

checking for main in -lEGL... yes 
checking for main in -lGLESv2... no 
configure: error: Could not find a required library. Please see the README for your platform. 

Reproducible: Always
Comment 1 A. Person 2014-06-25 15:35:02 UTC
That's xbmc-13.0_p2.
Comment 2 Michael Mausolf 2014-06-25 15:46:13 UTC
I had the same problem on my Raspbery Pi. On my amd64 system I have mesa without gles2 use flag and xbmc builds fine. So it might be somehow ARM specific.
Comment 3 Paul Zander 2014-07-03 13:35:54 UTC
There is no GLES on non-embbeded systems. Depending on it for x86 systems won't work.

No idea if depending on it for arm arch is a good idea.
Comment 4 SpanKY gentoo-dev 2014-07-29 08:11:52 UTC
the lines between embedded/non-embedded don't really exist anymore.  you can buy laptops that support GLES.
Comment 5 SpanKY gentoo-dev 2014-07-29 08:13:23 UTC
should be all set now in the tree; thanks for the report!

Commit message: Require mesa[gles2] when USE=gles is enabled
http://sources.gentoo.org/media-tv/xbmc/xbmc-12.3.ebuild?r1=1.7&r2=1.8
http://sources.gentoo.org/media-tv/xbmc/xbmc-13.0_p2.ebuild?r1=1.6&r2=1.7
http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.162&r2=1.163