[Mesa-dev] failed to compile mesa
Joakim Sindholt
bacn at zhasha.com
Sun Apr 18 08:08:05 PDT 2010
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 :)
>
More information about the mesa-dev
mailing list