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=&quot;$PREFIX&quot; --enable-xcb --with-dri-drivers=i915 --disable-gallium<br>
<br><div class="gmail_quote">2010/4/18 Joakim Sindholt <span dir="ltr">&lt;<a href="mailto:bacn@zhasha.com">bacn@zhasha.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;">
In your script, something came to mind in:<br>
./autogen.sh --prefix=&quot;$PREFX&quot; --enable-xcb --enable-gallium-intel<br>
--with-dri-drivers=i915<br>
That line actually compiles both classic AND gallium&#39;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>
&gt; My build script is as attached named auto.sh,<br>
&gt; and run it as:<br>
&gt; auto.sh init<br>
&gt; auto.sh get_xorg_proto<br>
&gt; auto.sh build_xorg_proto<br>
&gt; auto.sh get_xorg_lib<br>
&gt; auto.sh build_xorg_lib<br>
&gt;<br>
&gt; and failed on build mesa lib.<br>
&gt;<br>
&gt; I&#39;ll try to patch Makefile to let it compile pass.<br>
&gt; Thanks :)<br>
&gt;<br>
&gt; 2010/4/18 Luca Barbieri &lt;<a href="mailto:luca.barbieri@gmail.com">luca.barbieri@gmail.com</a>&gt;<br>
&gt;         Normally the X11 headers are available without needing any<br>
&gt;         special -I<br>
&gt;         options, since they are at /usr/include/X11/Xlib.h<br>
&gt;<br>
&gt;         It&#39;s quite possible that the Mesa build system may be broken<br>
&gt;         if you<br>
&gt;         have them somewhere else, since possibly no one tested that.<br>
&gt;<br>
&gt;         Just figure out how to fix it and send a patch :)<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br>