oops, fixed typo PREFIX,<br>but still failed on can not find X11/Xlib.h and X11/Xutil.h<br><br>Thanks your correction :)<br>and I also change configure options as<br><br>./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 --disable-gallium<br>
<br><div class="gmail_quote">2010/4/18 Joakim Sindholt <span dir="ltr"><<a href="mailto:bacn@zhasha.com">bacn@zhasha.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In your script, something came to mind in:<br>
./autogen.sh --prefix="$PREFX" --enable-xcb --enable-gallium-intel<br>
--with-dri-drivers=i915<br>
That line actually compiles both classic AND gallium'ized drivers. The<br>
--with-dri-drivers flag is what you specify to compile classic mesa<br>
drivers.<br>
(also you wrote $PREFX, not $PREFIX, it looks like a bug)<br>
<div><div></div><div class="h5"><br>
On Sun, 2010-04-18 at 22:42 +0800, CSJ wrote:<br>
> My build script is as attached named auto.sh,<br>
> and run it as:<br>
> auto.sh init<br>
> auto.sh get_xorg_proto<br>
> auto.sh build_xorg_proto<br>
> auto.sh get_xorg_lib<br>
> auto.sh build_xorg_lib<br>
><br>
> and failed on build mesa lib.<br>
><br>
> I'll try to patch Makefile to let it compile pass.<br>
> Thanks :)<br>
><br>
> 2010/4/18 Luca Barbieri <<a href="mailto:luca.barbieri@gmail.com">luca.barbieri@gmail.com</a>><br>
> Normally the X11 headers are available without needing any<br>
> special -I<br>
> options, since they are at /usr/include/X11/Xlib.h<br>
><br>
> It's quite possible that the Mesa build system may be broken<br>
> if you<br>
> have them somewhere else, since possibly no one tested that.<br>
><br>
> Just figure out how to fix it and send a patch :)<br>
><br>
<br>
<br>
</div></div></blockquote></div><br>