You are not logged in.

#1 2009-04-30 22:47:43

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

[solved] libpanelappletmm doesn't build

I've created this PKGBUILD for libpanelappletmm, requested by gnote 0.3:

 # Contributor: uastasi  <>
pkgname=libpanelappletmm
pkgver=2.22.0
pkgrel=1
pkgdesc="C++ library for creating GNOME panel applets"
arch=('i686' 'x86_64')
url="http://www.gnome.org"
license=('GPL')
depends=( 'gtkmm' 'libgnomemm' )
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.22/$pkgname-$pkgver.tar.gz)
md5sums=('d2529ebd61e5e5110eb0523e52ef914b')

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

But it fails at make stage with this error:

/usr/include/panel-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -march=i686 -mtune=generic -O2 -pipe -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.cc  -fPIC -DPIC -o .libs/init.o
init.cc:29:19: error: gnome.h: No such file or directory
init.cc: In function 'void Gnome::Panel::init(const Glib::ustring&, const Glib::ustring&, int, char**)':
init.cc:41: error: 'LIBGNOMEUI_MODULE' was not declared in this scope
init.cc:41: error: 'GNOME_CLIENT_PARAM_SM_CONNECT' was not declared in this scope
make[4]: *** [init.lo] Error 1
make[4]: Leaving directory `/var/abs/local/libpanelappletmm/src/libpanelappletmm-2.22.0/libpanelapplet/libpanelappletmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/libpanelappletmm/src/libpanelappletmm-2.22.0/libpanelapplet/libpanelappletmm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/libpanelappletmm/src/libpanelappletmm-2.22.0/libpanelapplet'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/abs/local/libpanelappletmm/src/libpanelappletmm-2.22.0/libpanelapplet'
make: *** [all-recursive] Error 1
==> ERROR

I have checked for missing dependencies but it seems everything okay.. anyone might help me?

Last edited by uastasi (2009-05-01 17:33:09)


Till the last battle, till the last bottle.
aur - twitter

Offline

#2 2009-05-01 07:43:15

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

Re: [solved] libpanelappletmm doesn't build

do you have libgnomeui installed?

Offline

#3 2009-05-01 08:13:38

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: [solved] libpanelappletmm doesn't build

Snowman wrote:

do you have libgnomeui installed?

Thank you Snowman for the answer. I have both libgnomeui and libgnomeuimm installed.


Till the last battle, till the last bottle.
aur - twitter

Offline

#4 2009-05-01 12:53:15

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: [solved] libpanelappletmm doesn't build

Im having the same error, trying to save a few AUR packages, the PKGBUILD

pkgname=hardware-monitor
pkgver=1.4
pkgrel=4
pkgdesc="A small program for the Gnome panel which tries to be a beautiful all-round solution to hardware monitoring."
arch=('i686' 'x86_64')
url="http://www.cs.aau.dk/~olau/hardware-monitor/"
license=('GPL')
depends=('gtkmm>=2.6' 'gconfmm' 'libglademm' 'libgnomecanvasmm' 'libgtop'
         'gnome-panel' 'lm_sensors' 'intltool' 'pkgconfig')
makedepends=('perlxml')
source=(http://people.iola.dk/olau/hardware-monitor/source/$pkgname-$pkgver.tar.bz2)
#md5sums=('e5bac024111df22490cee277339aa42b')

build() {
  cd $startdir/src/$pkgname-$pkgver

  /configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install

}

Error

main.cpp:30:38: error: libgnomeui/gnome-ui-init.h: No such file or directory
main.cpp: In function 'int main(int, char**)':
main.cpp:60: error: 'LIBGNOMEUI_MODULE' was not declared in this scope
main.cpp:61: error: 'GNOME_CLIENT_PARAM_SM_CONNECT' was not declared in this scope
main.cpp:62: error: 'gnome_program_init' was not declared in this scope
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/cr00k/Desktop/aur/gnome-hardware-monitor/src/hardware-monitor-1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cr00k/Desktop/aur/gnome-hardware-monitor/src/hardware-monitor-1.4'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#5 2009-05-01 17:32:50

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: [solved] libpanelappletmm doesn't build

Known bug, needed to patch sources.
http://aur.archlinux.org/packages.php?ID=26102


Till the last battle, till the last bottle.
aur - twitter

Offline

Board footer

Powered by FluxBB