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&#39;ll try to patch Makefile to let it compile pass.<br>Thanks :)<br><br><div class="gmail_quote">2010/4/18 Luca Barbieri <span dir="ltr">&lt;<a href="mailto:luca.barbieri@gmail.com">luca.barbieri@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Normally the X11 headers are available without needing any special -I<br>
options, since they are at /usr/include/X11/Xlib.h<br>
<br>
It&#39;s quite possible that the Mesa build system may be broken 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>
</blockquote></div><br>