[Mesa-dev] failed to compile mesa

CSJ changsijay at gmail.com
Sun Apr 18 08:45:36 PDT 2010


oops, fixed typo PREFIX,
but still failed on can not find X11/Xlib.h and X11/Xutil.h

Thanks your correction :)
and I also change configure options as

./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915
--disable-gallium

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

> In your script, something came to mind in:
> ./autogen.sh --prefix="$PREFX" --enable-xcb --enable-gallium-intel
> --with-dri-drivers=i915
> That line actually compiles both classic AND gallium'ized drivers. The
> --with-dri-drivers flag is what you specify to compile classic mesa
> drivers.
> (also you wrote $PREFX, not $PREFIX, it looks like a bug)
>
> On Sun, 2010-04-18 at 22:42 +0800, CSJ wrote:
> > My build script is as attached named auto.sh,
> > and run it as:
> > auto.sh init
> > auto.sh get_xorg_proto
> > auto.sh build_xorg_proto
> > auto.sh get_xorg_lib
> > auto.sh build_xorg_lib
> >
> > and failed on build mesa lib.
> >
> > I'll try to patch Makefile to let it compile pass.
> > Thanks :)
> >
> > 2010/4/18 Luca Barbieri <luca.barbieri at gmail.com>
> >         Normally the X11 headers are available without needing any
> >         special -I
> >         options, since they are at /usr/include/X11/Xlib.h
> >
> >         It's quite possible that the Mesa build system may be broken
> >         if you
> >         have them somewhere else, since possibly no one tested that.
> >
> >         Just figure out how to fix it and send a patch :)
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100418/4a467197/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: auto.sh
Type: application/x-sh
Size: 5066 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100418/4a467197/attachment.sh>


More information about the mesa-dev mailing list