build error: Failed to link Mesa source tree

hu feng william.happysky at gmail.com
Sat Jun 9 11:28:31 PDT 2007


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

(2) when i build app/xdpinfo
checking pkg-config is at least version 0.9.0... yes
checking for XDPYINFO... configure: error: Package requirements (xext
x11 xtst) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the XDPYINFO_CFLAGS and XDPYINFO_LIBS
environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

The current Xorg of my os is 6.9
uname -a is:
inux jackie 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 i686
i686 i386 GNU/Linux
os is SUSE10.0

(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??


Thank you very much



More information about the xorg mailing list