You are not logged in.

#1 2009-04-30 19:05:52

kludge
Member
Registered: 2008-08-03
Posts: 294

[SOLVED] Trouble Building Xorg-Server 1.6.1-1 (Modified PKGBUILD)

ever since the release of xorg-server 1.5.3, i've been using a modified
PKGBUILD to build xorg-server sans hal and dbus.  (not gonna try
justifying it again; that'd just lead to yet another flame war.)

i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines:

  libtoolize --force || return 1
  aclocal || return 1
  autoconf || return 1
  automake --add-missing || return 1

after applying patches and before running the configure.  these added lines produce:

libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
AM_CONDITIONAL
==> ERROR: Build Failed.
    Aborting...

my modified PKGBUILD is build.  please note that i *have* tried
reverting my changes (the commented patches), to no avail.

as i'm pretty clueless vis-a-vis makefiles and the autoconf system,
could somehow point me in the direction of a fix?

many thanks,
kludge

# $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $
# Maintainer: Alexander Baldeck <kth5@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-server
pkgver=1.6.1
pkgrel=1
pkgdesc="X.Org X servers" 
arch=('i686' 'x86_64')
license=('custom') 
url="http://xorg.freedesktop.org"
depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils')
makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=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' 'libgl>=7.4' 'glproto>=1.4.9') 
#optdepends=( 'xf86-input-evdev: to provide input device hotplugging'
#    'hal>=0.5.11: to provide input devices for hotplugging' )
options=('!libtool')
provides=('x-server' ) # 'xorg-server')
conflicts=('catalyst-utils<=9.2')
groups=('xorg') 
install=xorg-server.install 
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
    xorg-redhat-die-ugly-pattern-die-die-die.patch
    hal-wait.patch)
md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
         '1a336eb22e27cbf443ec5a2ecddfa93c'
         'f16d2caef84e1a9c4075b6c5e145512d')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  # Get rid of the ugly pattern
  patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1

  # Fix dbus config path - removed b/c no dbus config'd
  # sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1

  # Revert waiting for hal, assume hal won't show up when initial connect fails
  # commented out b/c no hal config'd
  # patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1

  libtoolize --force || return 1
  aclocal || return 1
  autoconf || return 1
  automake --add-missing || return 1

  # --enable-config-{dbus,hal} switched to --disable
  # to disable hotplugging and dependencies

  ./configure --prefix=/usr \
              --enable-ipv6 \
              --enable-dri \
              --disable-dmx \
              --enable-xvfb \
              --enable-xnest \
              --enable-composite \
              --enable-xcsecurity \
              --enable-xorg \
          --enable-xephyr \
              --enable-glx-tls \
          --enable-kdrive \
              --enable-install-setuid \
          --disable-config-hal \
          --disable-config-dbus \
          --enable-record \
          --disable-xfbdev \
          --disable-xfake \
          --disable-xsdl \
              --disable-static \
              --sysconfdir=/etc/X11 \
              --localstatedir=/var \
              --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
              --with-xkb-path=/usr/share/X11/xkb \
              --with-xkb-output=/var/lib/xkb \
              --with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1

  make || return 1
  make DESTDIR="${pkgdir}" install || return 1

  rm -rf "${pkgdir}/var/log" || return 1

  install -m755 -d "${pkgdir}/etc/X11" || return 1
  install -m755 -d "${pkgdir}/var/lib/xkb" || return 1

  # Needed for non-mesa drivers, libgl will restore it
  mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
     "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}

Last edited by kludge (2009-05-01 17:25:39)


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#2 2009-05-01 05:14:44

droog
Member
Registered: 2004-11-18
Posts: 877

Re: [SOLVED] Trouble Building Xorg-Server 1.6.1-1 (Modified PKGBUILD)

Not any help to your error but have you tried the one in aur with disabled dbus and hal?
I've been using it for a week or so with no problems and it built fine.
http://aur.archlinux.org/packages.php?ID=23750

Offline

#3 2009-05-01 07:45:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] Trouble Building Xorg-Server 1.6.1-1 (Modified PKGBUILD)

The OP provblem is solved. There was a missing xorg-util-macros in the makedepends.

Offline

#4 2009-05-01 17:26:06

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: [SOLVED] Trouble Building Xorg-Server 1.6.1-1 (Modified PKGBUILD)

snowman beat me to it.  thanks, comrade.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

Board footer

Powered by FluxBB