You are not logged in.

#1 2009-07-31 18:00:51

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

[Solved] Compiling Xorg(PKGBUILD from ABS tree).

Hello
Today I want to build Xorg.
I use PKGBUILD from ABS tree changed it a bit (normal changes).
Here you are:

  5 pkgname=xorg-server
  6 pkgver=1.6.2
  7 pkgrel=1
  8 pkgdesc="X.Org X servers"
  9 arch=('i686' 'x86_64')
 10 license=('custom')
 11 url="http://xorg.freedesktop.org"
 12 depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.6' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xkeyboard-config>=1.    6' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' )
 13 makedepends=('libx11>=1.2.1' 'mesa>=7.5' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'r    enderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>    =0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'glproto>=1.4.9' 'xorg-uti    l-macros')
 14 conflicts=('catalyst-utils<=9.2')
 15 options=('!libtool')
 16 provides=('x-server')
 17 groups=('xorg')
 18 install=xorg-server.install
 19 source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
 20         xorg-redhat-die-ugly-pattern-die-die-die.patch
 21         server-1.6-branch.patch)
 22 md5sums=('37641d0899df8a9c4a6284586d932b8d'
 23          '1a336eb22e27cbf443ec5a2ecddfa93c'
 24          '811b6f4cda60ac5f94fd790415efb073')
 25 
 26 build() {
 27   cd "${srcdir}/${pkgname}-${pkgver}"
 28   # Get rid of the ugly pattern
 29   patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
 30 
 31   # Upstream updates from server-1.6 branch
 32   patch -Np1 -i "${srcdir}/server-1.6-branch.patch" || return 1
 33 
 34   # Fix dbus config path
 35   sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.*  || return 1
 36 
 37   libtoolize --force || return 1
 38   ./configure --prefix=/usr \
 39               --disable-ipv6 \
 40               --disable-dri2 \
 41               --disable-dri \
 42               --disable-dmx \
 43               --disable-xvfb \
 44               --disable-xnest \
 45               --disable-composite \
 46               --disable-xcsecurity \
 47               --enable-xorg \
 48               --disable-xephyr \
 49               --disable-glx-tls \
 50                 --disable-kdrive \
 51               --enable-install-setuid \
 52               --disable-config-hal \
 53               --disable-config-dbus \
 54               --disable-record \
 55               --disable-xfbdev \
 56               --disable-xfake \
 57               --disable-xsdl \
 58               --disable-static \
 59               --sysconfdir=/etc/X11 \
 60               --localstatedir=/var \
 61               --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unsc    aled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
 62               --with-xkb-path=/usr/share/X11/xkb \
 63               --with-xkb-output=/var/lib/xkb \
 64               --with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
 65 
 66   make || return 1
 67   make DESTDIR="${pkgdir}" install || return 1
 68 
 69   rm -rf "${pkgdir}/var/log" || return 1
 70 
 71   install -m755 -d "${pkgdir}/etc/X11" || return 1
 72   install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
 73 
 74   # Needed for non-mesa drivers, libgl will restore it
 75   mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
 76      "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
 77 
 78   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
 79   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
 80 }

Numbers are from Vim.
And here this error:

make[1]:Enter to directory `/home/pasik/abs/xorg-server/src/xorg-server-1.6.2/dix'
make  all-am
make[2]: Enter to directory `/home/pasik/abs/xorg-server/src/xorg-server-1.6.2/dix'
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext  -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((2) * 1000) + 0)" -march=nocona -O2 -pipe -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext  -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((2) * 1000) + 0)" -march=nocona -O2 -pipe -MT property.lo -MD -MP -MF .deps/property.Tpo -c -o property.lo property.c
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext  -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((2) * 1000) + 0)" -march=nocona -O2 -pipe -MT ptrveloc.lo -MD -MP -MF .deps/ptrveloc.Tpo -c -o ptrveloc.lo ptrveloc.c
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext  -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((2) * 1000) + 0)" -march=nocona -O2 -pipe -MT registry.lo -MD -MP -MF .deps/registry.Tpo -c -o registry.lo registry.c
../doltcompile gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1    -I../include -I../include -I../Xext  -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((2) * 1000) + 0)" -march=nocona -O2 -pipe -MT resource.lo -MD -MP -MF .deps/resource.Tpo -c -o resource.lo resource.c
main.c:115:33: error: X11/extensions/dpms.h: Nie ma takiego pliku ani katalogu
make[2]: *** [main.lo] Error 1
make[2]: *** Waiting for not end task's....
mv -f .deps/registry.Tpo .deps/registry.Plo
mv -f .deps/property.Tpo .deps/property.Plo
mv -f .deps/ptrveloc.Tpo .deps/ptrveloc.Plo
mv -f .deps/resource.Tpo .deps/resource.Plo
make[2]: exit directory `/home/pasik/abs/xorg-server/src/xorg-server-1.6.2/dix'
make[1]: *** [all] Error 2
make[1]: exit directory `/home/pasik/abs/xorg-server/src/xorg-server-1.6.2/dix'
make: *** [all-recursive] Error 1
==> Error: Build Fail.
    STOP...

It's the same PKGBUILD I use in the past , he was working fine sad

Last edited by SpeedVin (2009-08-01 09:07:43)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#2 2009-07-31 18:17:47

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

Hello SpeedVin!

Some of us don't know this language, just english smile And is it work without changing the 'official' ?

Offline

#3 2009-07-31 18:25:12

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

djszapi wrote:

Hello SpeedVin!

Some of us don't know this language, just english smile And is it work without changing the 'official' ?

Ok I translate it wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#4 2009-07-31 20:30:40

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

Ok, or you can post it in the language realted topic next time:)

Last edited by djszapi (2009-07-31 21:27:04)

Offline

#5 2009-07-31 21:23:33

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

LANG=C somewhere in the PKGBUILD and the messages are english.(just for posting them, if you prefer polish in your private compilings, it is okay, I also prefer german in mine).

Offline

#6 2009-07-31 21:27:47

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

Yeah, Stefan has right, that's the correct way if you'd like to preserve your nationality mind smile

Offline

#7 2009-08-01 00:37:42

louipc
Member
Registered: 2006-10-09
Posts: 85

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

That file is available in the xextproto package.

Offline

#8 2009-08-01 09:04:57

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

louipc wrote:

That file is available in the xextproto package.

You are right thank you I got this this apckages in newer version wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#9 2009-08-01 23:34:51

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: [Solved] Compiling Xorg(PKGBUILD from ABS tree).

I don't think xorg-server 1.6.x is designed to be compiled with the new xextproto. At this moment a lot of packages are updated for the new xextproto, and as you might have noticed by the version number, this version of xextproto isn't the final version that leads to 7.1 yet.

Offline

Board footer

Powered by FluxBB