libepoxy configure problem

Jasper St. Pierre jstpierre at mecheye.net
Tue May 27 12:02:19 PDT 2014


mesa installs these headers:
http://cgit.freedesktop.org/mesa/mesa/tree/include/EGL/eglplatform.h


On Tue, May 27, 2014 at 2:46 PM, Bill Spitzak <spitzak at gmail.com> wrote:

> On 05/24/2014 12:45 AM, Pekka Paalanen wrote:
>
>  - No idea why you needed the CPPFLAGS for libepoxy, I certainly
>>    didn't need it and it should not be needed. Not to mention that
>>    variables set for configure should be arguments, not environment.
>>    If there is a problem, it needs to be fixed libepoxy upstream,
>>    since we are building it from git anyway.
>>
>
> 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.
>
> If autogen.sh is tried before these are installed, configure works, but
> compilation fails with:
>
>   CC     dispatch_common.lo
> In file included from ../include/epoxy/egl.h:46:0,
>                  from dispatch_common.h:48,
>                  from dispatch_common.c:103:
> ../include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h:
> No such file or directory
>
> $PWD/include/EGL/eglplatform.h existed at this point, so the problem is
> that the include path was not set correctly by configure.
>
> 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).
>
> 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.
>
> I can do more experiments or try to guess at the configue.am file if that
> is not enough information.
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140527/2803ef38/attachment.html>


More information about the wayland-devel mailing list