<div dir="ltr">mesa installs these headers: <a href="http://cgit.freedesktop.org/mesa/mesa/tree/include/EGL/eglplatform.h">http://cgit.freedesktop.org/mesa/mesa/tree/include/EGL/eglplatform.h</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, May 27, 2014 at 2:46 PM, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 05/24/2014 12:45 AM, Pekka Paalanen wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- No idea why you needed the CPPFLAGS for libepoxy, I certainly<br>
didn't need it and it should not be needed. Not to mention that<br>
variables set for configure should be arguments, not environment.<br>
If there is a problem, it needs to be fixed libepoxy upstream,<br>
since we are building it from git anyway.<br>
</blockquote>
<br>
I am having a difficult time tracking down the exact problem. However libepoxy configure seems to depend on the installation of some other thing that I did install later as part of building weston.<br>
<br>
If autogen.sh is tried before these are installed, configure works, but compilation fails with:<br>
<br>
CC dispatch_common.lo<br>
In file included from ../include/epoxy/egl.h:46:0,<br>
from dispatch_common.h:48,<br>
from dispatch_common.c:103:<br>
../include/epoxy/egl_<u></u>generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory<br>
<br>
$PWD/include/EGL/eglplatform.h existed at this point, so the problem is that the include path was not set correctly by configure.<br>
<br>
If I install all the other things from git needed by weston and xserver, running libepoxy's autogen.sh works and passes -I$PWD/include to the compiler (confirmed by making sure make fails if I remove the EGL/eglplatform.h file, so it is not that it disabled the #include).<br>
<br>
I am pretty certain the obvious culprit (mesa) was already installed at this point. My best guess is that it is the xserver itself that fixes this, though it could be the xorg/proto packages, or libxtrans, libxkbfile, xorg/util/macros, libxcb (as at the time I was not compling that), or libxshmfence.<br>
<br>
I can do more experiments or try to guess at the <a href="http://configue.am" target="_blank">configue.am</a> file if that is not enough information.<br>
______________________________<u></u>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/wayland-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div>