[Mesa-dev] failed to compile mesa

Dan Nicholson dbn.lists at gmail.com
Sun Apr 18 09:12:13 PDT 2010


On Sat, Apr 17, 2010 at 8:39 PM, CSJ <changsijay at gmail.com> wrote:
> Hello, I am new to mesa,
> and I am not sure if compiling issue could post here or not?
>
> I want to build xorg and follow this guide:
> http://www.x.org/wiki/Development/BuildingX
>
> but when I build mesa,
> It error at:
> ../../../include/EGL/eglplatform.h:84:22: error: X11/Xlib.h: No such file or
> directory
> ../../../include/EGL/eglplatform.h:85:23: error: X11/Xutil.h: No such file
> or directory
>
>
> and I also tried 7.8 and 7.8.1 are both stop at the same error,
> but I can compile 7.7.1 successfully.
>
> I google the message and find some hint here:
> http://www.mail-archive.com/blfs-dev@linuxfromscratch.org/msg09459.html
>
> By adding include dir to src/egl/main/Makefile, I can go on,
> But error on another file complain  X11/Xlib.h: No such file or directory
>
> How could I fix this error?
> X11/Xlib.h: No such file or directory
> X11/Xutil.h: No such file or directory

I'm sure we're missing the CFLAGS in some Makefile. Can you show the
whole error output so I can see where it's failing to set the flags
correctly?

--
Dan


More information about the mesa-dev mailing list