build error: Failed to link Mesa source tree

Michel Dänzer michel at tungstengraphics.com
Sun Jun 10 23:04:35 PDT 2007


On Sun, 2007-06-10 at 02:28 +0800, hu feng wrote:
> First, thank you very much! Any advice is appreciated
> I dowload the latest code through git
> when i build:there are several build error
> i use the command
> PATH=${TDModule}/bin:${PATH} ./util/modular/build.sh -m
> /home/jackie/work/xc_git/extras/Mesa-6.5.2 -D  ${TDModule} 1>build.log
> 2>&1
> the TDModule is set /usr/X11R7
> 
> (1) when build xserver
> Creating destination directories for mesa module ...
>    error:   Source directory
> /home/jackie/work/xc_git/extras/Mesa-6.5.2/src/mesa/vbo does not exist
> configure: error: Failed to link Mesa source tree.  Please specify a
> proper path to Mesa sources, or disable GLX
> 
> I download the MesaDemos-6.5.2.tar.bz2  & MesaLib-6.5.2.tar.bz2 and
> extract them to extras/Mesa-6.5.2

You need mesa GIT master to build xserver GIT master.


> (3) How to change the build flag
> if i want change the build flag of all modules to O3 or O0 -g, how to
> do it??
> does export CFLAGS=O3 or CFLAGS= O0 -g, is there some configure file
> to control the build flags??

The configure scripts honour the CFLAGS environment variable.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list