You are not logged in.

#1 2005-07-17 23:06:18

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Strange error compiling rox-session

Using thegnu's PKGBUILD, updated to download the latest version of rox-session:

gcc -march=i686 -O2 -pipe -Wl,-O1 -Wall -Wmissing-prototypes  -I/usr/X11R6/include `pkg-config --cflags gtk+-2.0 libxml-2.0 dbus-1 dbus-glib-1` -I.   -c -o dbus.o dbus.c
dbus.c: In function `connect_to_bus':
dbus.c:298: warning: implicit declaration of function `dbus_bus_service_exists'
dbus.c:311: warning: implicit declaration of function `dbus_bus_acquire_service'
dbus.c:325: error: `DBUS_PATH_ORG_FREEDESKTOP_LOCAL' undeclared (first use in this function)
dbus.c:325: error: (Each undeclared identifier is reported only once
dbus.c:325: error: for each function it appears in.)
dbus.c:326: error: `DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL' undeclared (first use in this function)
make: *** [dbus.o] Error 1
Compile failed
Press Return...

(Bizarrely, ABS will create a package even if the compile fails, and install it if the -i option is used. :? )

Offline

#2 2005-07-18 01:12:28

Euphoric Nightmare
Member
From: Kentucky
Registered: 2005-05-02
Posts: 283

Re: Strange error compiling rox-session

is it possible that you don't have all the deps installed?

Offline

#3 2005-07-18 01:21:12

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Strange error compiling rox-session

could you post the PKGBUILD? maybe appending || return 1 to make install would have stopped it from completing the build after the error...

Offline

#4 2005-07-18 01:46:29

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Strange error compiling rox-session

Euphoric Nightmare wrote:

is it possible that you don't have all the deps installed?

Nope, checked, and used the -s option.

Penguin wrote:

could you post the PKGBUILD? maybe appending || return 1 to make install would have stopped it from completing the build after the error...

# $Id$
# Contributor: Nathan Curry <thegnu@gmail.com>

pkgname=rox-session
pkgver=0.1.25
pkgrel=1
groups=('rox-desktop')
pkgdesc="Session manager for the ROX desktop environment"
url="http://dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz"
depends=('rox-lib' 'glib2>=2.4' 'dbus' 'python')
source=(http://dl.sourceforge.net/sourceforge/rox/ROX-Session-$pkgver.tgz)

build() {
  cd $startdir/src/ROX-Session-$pkgver/ROX-Session
  ./AppRun --compile
  cd ..

  mkdir -p $startdir/pkg/usr/apps/
  cp -rp ROX-Session $startdir/pkg/usr/apps/

  mkdir -p $startdir/pkg/usr/bin
  echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
  echo "exec /usr/apps/ROX-Session/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
  chmod a+x $startdir/pkg/usr/bin/$pkgname
}

Offline

#5 2005-07-18 02:12:27

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Strange error compiling rox-session

could be that rox-session hasnt updated to the new dbus api?

Offline

#6 2005-07-18 02:20:39

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Strange error compiling rox-session

New dbus api? Is the copy of dbus in the repo out of date?

Offline

#7 2005-07-18 02:37:20

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Strange error compiling rox-session

Gullible Jones wrote:

New dbus api? Is the copy of dbus in the repo out of date?

No, its fine its up to date, rox-session isnt.

Offline

#8 2005-07-18 02:42:31

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Strange error compiling rox-session

Rats.

Offline

#9 2005-07-18 02:47:12

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Strange error compiling rox-session

is there a cvs version of rox-session? if so, that may be your answer.

Offline

Board footer

Powered by FluxBB