You are not logged in.

#1 2008-11-28 13:38:05

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Can't build backstep in AUR...

The PKGBUILD seems simple enough:

# Contributor: Mark Rosenstand <mark@borkware.net>
pkgname=backstep
pkgver=0.3
pkgrel=1
pkgdesc="Icons for minimized windows."
url="http://backstep.sourceforge.net/"
license=""
depends=('gtk2' 'x-server')
makedepends=('gettext' 'intltool' 'pkgconfig')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('fb8980b7f59b66f87b0bfdb32c3a9032')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

But I get this error:

configure: error: Package requirements (xcomposite >= 1.0 xfixes xdamage xrender) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the RENDER_CFLAGS and RENDER_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...

I guess I should set the RENDER_CFLAGS and RENDER_LIBS... but set them to what??

Offline

#2 2008-11-28 13:43:33

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,399
Website

Re: Can't build backstep in AUR...

It looks like it is missing a dep.  libxcomposite is not covered by x(org)-server

Offline

#3 2008-11-28 14:21:02

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: Can't build backstep in AUR...

Hmm it doesn't seem to be picking up the libs even though I have them all.  If you've installed libxcomposite/libxdamage/libxrender and it still fails for you, add these 2 exports before the configure line:

export RENDER_LIBS="`pkg-config --libs xcomposite xfixes xdamage xrender`" 
export RENDER_CFLAGS="`pkg-config --cflags xcomposite xfixes xdamage xrender`"

ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.

Offline

#4 2008-11-30 18:11:55

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Can't build backstep in AUR...

creslin wrote:

Hmm it doesn't seem to be picking up the libs even though I have them all.  If you've installed libxcomposite/libxdamage/libxrender and it still fails for you, add these 2 exports before the configure line:

export RENDER_LIBS="`pkg-config --libs xcomposite xfixes xdamage xrender`" 
export RENDER_CFLAGS="`pkg-config --cflags xcomposite xfixes xdamage xrender`"

That's exactly what I needed to do. Thanks.

Offline

Board footer

Powered by FluxBB