Re: [Mesa-dev] failed to compile mesa

2010-04-19 Thread Dan Nicholson
On Mon, Apr 19, 2010 at 6:31 AM, Jakob Bornecrantz wrote: > On Mon, Apr 19, 2010 at 2:11 PM, Dan Nicholson wrote: >> On Sun, Apr 18, 2010 at 1:51 PM, Jakob Bornecrantz >> wrote: >>> On Sun, Apr 18, 2010 at 6:40 PM, CSJ wrote: Hi, Dan This patch works with ./autogen.sh --pre

Re: [Mesa-dev] failed to compile mesa

2010-04-19 Thread Jakob Bornecrantz
On Mon, Apr 19, 2010 at 2:11 PM, Dan Nicholson wrote: > On Sun, Apr 18, 2010 at 1:51 PM, Jakob Bornecrantz > wrote: >> On Sun, Apr 18, 2010 at 6:40 PM, CSJ wrote: >>> Hi, Dan >>> >>> This patch works with >>> ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 >>> --disable-gal

Re: [Mesa-dev] failed to compile mesa

2010-04-19 Thread Michel Dänzer
On Mon, 2010-04-19 at 06:11 -0700, Dan Nicholson wrote: > On Sun, Apr 18, 2010 at 1:51 PM, Jakob Bornecrantz > wrote: > > On Sun, Apr 18, 2010 at 6:40 PM, CSJ wrote: > >> Hi, Dan > >> > >> This patch works with > >> ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 > >> --dis

Re: [Mesa-dev] failed to compile mesa

2010-04-19 Thread Dan Nicholson
On Sun, Apr 18, 2010 at 1:51 PM, Jakob Bornecrantz wrote: > On Sun, Apr 18, 2010 at 6:40 PM, CSJ wrote: >> Hi, Dan >> >> This patch works with >> ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 >> --disable-gallium --without-demos >> >> if I use >> ./autogen.sh --prefix="$PRE

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Jakob Bornecrantz
On Sun, Apr 18, 2010 at 6:40 PM, CSJ wrote: > Hi, Dan > > This patch works with > ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 > --disable-gallium --without-demos > > if I use > ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 > --disable-gallium > it fa

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread CSJ
Hi, Dan This patch works with ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 --disable-gallium --without-demos if I use ./autogen.sh --prefix="$PREFIX" --enable-xcb --with-dri-drivers=i915 --disable-gallium it failed as attached with-demos.log. if I use ./autogen.sh --prefi

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Dan Nicholson
On Mon, Apr 19, 2010 at 12:15:22AM +0800, CSJ wrote: > Sorry I am not familiar with Makefiles > But I modified src/egl/drivers/glx/Makefile and > src/egl/main/Makefile as attached patch file. > > and it can compiled passed when configured > --with-dri-drivers=i915 --disable-gallium --without-demos

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread CSJ
Sorry I am not familiar with Makefiles But I modified src/egl/drivers/glx/Makefile and src/egl/main/Makefile as attached patch file. and it can compiled passed when configured --with-dri-drivers=i915 --disable-gallium --without-demos if gallium enabled or with demos, it still compiled failed that

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Dan Nicholson
On Sat, Apr 17, 2010 at 8:39 PM, CSJ wrote: > Hello, I am new to mesa, > and I am not sure if compiling issue could post here or not? > > I want to build xorg and follow this guide: > http://www.x.org/wiki/Development/BuildingX > > but when I build mesa, > It error at: > ../../../include/EGL/eglpl

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread CSJ
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 > In your script, something cam

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Joakim Sindholt
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 $

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread CSJ
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 > Normally th

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Luca Barbieri
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

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Joakim Sindholt
You don't need a newer library. You're very simply missing the header files necessary to build the newest version of mesa (although I've no idea why it worked before, as those are very common headers). If you're using Fedora, you'll want to install libX11-devel. If you're running some other "modern

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread CSJ
I've compiled and installed libX11 from git, and set below envs. PREFIX="/opt/xorg" export PKG_CONFIG_PATH="$PREFIX"/lib/ pkgconfig:"$PREFIX"/share/pkgconfig:${PKG_CONFIG_PATH} it's weird that I can compiled and installed mesa 7.7.1 successfully, but failed on 7.8 and later. Maybe I need to patc

Re: [Mesa-dev] failed to compile mesa

2010-04-18 Thread Joakim Sindholt
Install the X11/Xlib development headers with your distributions package manager. On Sun, 2010-04-18 at 11:39 +0800, CSJ wrote: > Hello, I am new to mesa, > and I am not sure if compiling issue could post here or not? > > I want to build xorg and follow this guide: > http://www.x.org/wiki/Develop

[Mesa-dev] failed to compile mesa

2010-04-17 Thread CSJ
Hello, I am new to mesa, and I am not sure if compiling issue could post here or not? I want to build xorg and follow this guide: http://www.x.org/wiki/Development/BuildingX but when I build mesa, It error at: ../../../include/EGL/eglplatform.h:84:22: error: X11/Xlib.h: No such file or directory