[Mesa-dev] failed to compile mesa

CSJ changsijay at gmail.com
Sun Apr 18 05:54:22 PDT 2010


I've compiled and installed libX11 from git,
and set below envs.

PREFIX="/opt/xorg"
export PKG_CONFIG_PATH="$PREFIX"/lib/
pkgconfig:"$PREFIX"/share/pkgconfig:${PKG_CONFIG_PATH}

it's weird that I can compiled and installed mesa 7.7.1 successfully,
but failed on 7.8 and later.

Maybe I need to patch some Makefiles to let it find libX11?


2010/4/18 Joakim Sindholt <bacn at zhasha.com>

> Install the X11/Xlib development headers with your distributions package
> manager.
>
> On Sun, 2010-04-18 at 11:39 +0800, CSJ 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
> >
> > Thanks
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100418/804f17f0/attachment.html>


More information about the mesa-dev mailing list