macro built error with xorg cvs

Wang Zhenyu zhenyu.z.wang at intel.com
Mon Feb 20 22:47:22 PST 2006


On 2006.02.21 01:02:12 +0000, Shawn Starr wrote:
> On Tuesday 21 February 2006 00:58, Wang Zhenyu wrote:
> > When I tried to build xorg cvs, I use suggested version of GNU build tools,
> > but I got many configure errors like:
> > ...
> > ./configure: line 19093: syntax error near unexpected token `RANDR,'
> > ./configure: line 19093: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'
> 
> That macro comes from the xserver module. Build and install that first.
> 

I did ./autogen.sh --prefix=/tmp/xorg in xserver/xorg, which gave me:

configure.ac:437: error: possibly undefined macro: XTRANS_CONNECTION_FLAGS
	If this token and others are legitimate, please use m4_pattern_allow.
	See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1

then I went to install lib/xtrans sucessfully, and set ACLOCAL="aclocal -I
/tmp/xorg/share/aclocal" as comment in configure.ac, redo autogen.sh again. 
I got:
...
./configure: line 18726: PKG_PROG_PKG_CONFIG: command not found
...
then stopped at:

./configure: line 24862: syntax error near unexpected token `XLIB,'
./configure: line 24862: `      PKG_CHECK_MODULES(XLIB, x11)'

Ideas? Yesterday I did use util/modular/build.sh, but I found some modules
were not built and installed properly. The errors are like above. 



More information about the xorg mailing list