trying to build X from git on Debian 6.0.6

Dennis Clarke dclarke at
Mon Jan 21 17:08:41 PST 2013

> On Mon, Jan 21, 2013 at 12:53:24 -0500, Dennis Clarke wrote:
> > So the problem, at the moment, is the source me thinks. 
> > 
> Try again.

aster $ diff  ./font/util/bdftruncate.c_backup ./font/util/bdftruncate.c       
<                       if (line_len > SSIZE_MAX) {
>                       if (line_len > LONG_MAX ) {

That progresses neatly and then blows up moments later with : 

make  all-recursive
make[1]: Entering directory `/home/dclarke/xorg/font/util'
Making all in man
make[2]: Entering directory `/home/dclarke/xorg/font/util/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dclarke/xorg/font/util/man'
make[2]: Entering directory `/home/dclarke/xorg/font/util'
  CC     bdftruncate.o
  CCLD   bdftruncate
  CC     ucs2any.o
ucs2any.c: In function 'zstrdup':
ucs2any.c:103: warning: implicit declaration of function 'strdup'
ucs2any.c:103: warning: nested extern declaration of 'strdup'
ucs2any.c:103: error: assignment makes pointer from integer without a cast
ucs2any.c: In function 'usage':
ucs2any.c:444: error: string length '913' is greater than the length '509' ISO C90 compilers are required to support
make[2]: *** [ucs2any.o] Error 1
make[2]: Leaving directory `/home/dclarke/xorg/font/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dclarke/xorg/font/util'
make: *** [all] Error 2 "make " failed on font/util error processing module/component:  "font/util"
aster $ 

Hrmmm .. I guess these CFLAGS are not going to work : 

aster $ echo $CFLAGS 
-m64 -g -malign-double -std=iso9899:199409 -pedantic-errors -mno-mmx -mno-sse -fexceptions -fpic -fvisibility=default -mtune=opteron -march=opteron -m128bit-long-double -mpc80 -Wl,-rpath=/usr/local/lib:/usr/local/gcc4/lib64 -Wl,-q
aster $ 

Is there a README somewhere that points to a build instruction sheet or INSTALL doc or similar ? 


More information about the xorg mailing list