[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building Xorg backport



Dear All

I am running debian sarge on a powerpc, and I have
several problem related with a buggy X11 that kills some applications
once in a while, and that seldom dies abruptly.

Since it seems that the XFree86 is going to be abandoned I wanted to pass 
to Xorg. 

Is there any precompiled binary for sarge on powerpc? 
I find only x11-common which is a "common infrastructure", but contains,
as far as I understand, no server.

Instead, there is a source in the debian backport that I was trying to build 
with no success so far. 
I am not very used to the tools of the debian project to make deb packages.

This is what I did:

apt-get source xorg-x11 from backports and began to build.
I issued 
debian/rules build-server

it took some time to get to this error:
gcc -c -g -O2 -fno-strict-aliasing     -I. -I../include
-I../../../include/fonts -I../render        -I../xfixes -I../damageext
-I../miext/damage            -I../../../exports/include/X11
-I../../../include/fonts -I../../../include/extensions
-I../../../programs/Xserver/Xext  -I../../.. -I../../../exports/include
-Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -D_GNU_SOURCE
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP       -DXCSECURITY -DTOGCUP
-DXF86BIGFONT -DDPMSExtension   -DXPRINT -DPIXPRIV -DPANORAMIX
-DRENDER -DRANDR       -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE
-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
-DXFreeXDGA -DXvExtension                                -DXFree86LOADER
-DDLOPEN_HACK -DXFree86Server                           -DXF86VIDMODE
-DXvMCExtension                          -DSMART_SCHEDULE
-DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_BIG_ENDIAN
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) *
1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DHAS_FFS
misprite.c
In file included from mispritest.h:44,
                 from misprite.c:52:
../render/picturestr.h:301: error: syntax error before "xTrap"
../render/picturestr.h:613: error: syntax error before "xTrap"
make[6]: *** [misprite.o] Error 1
make[6]: Leaving directory `/home/edo/compilo/xorg/xorg-x11-6.9.0.dfsg.1/build-tree/xc/programs/Xserver/mi'
make[5]: *** [mi] Error 2
make[5]: Leaving directory `/home/edo/compilo/xorg/xorg-x11-6.9.0.dfsg.1/build-tree/xc/programs/Xserver'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/edo/compilo/xorg/xorg-x11-6.9.0.dfsg.1/build-tree/xc/programs'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/edo/compilo/xorg/xorg-x11-6.9.0.dfsg.1/build-tree/xc'
make[2]: *** [World] Error 2
make[2]: Leaving directory `/home/edo/compilo/xorg/xorg-x11-6.9.0.dfsg.1/build-tree/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/edo/compilo/xorg/xorg-x11-6.9.0.dfsg.1/build-tree/xc'
make: *** [stampdir/build-server] Error 2
		 
I guess that I am doing something wrong, but I cannot figure out what.  
Indeed I tried to read documentation on how to build from source in backport 
but I found nothing.

Any help is welcome

Friendly

Edoardo

-- 
Edoardo Pasca
 Kamerlingh Onnes Laboratory
  Leiden Universiteit
  P.O.box 9504
 NL-2300 RA Leiden
Tel: +31 71 527 5420
Fax: +31 71 527 5404



Reply to: