You are not logged in.

#1 2005-06-06 02:19:05

krigun
Member
From: Norway
Registered: 2005-06-06
Posts: 122
Website

Error building gnomad2, missing libraries?

Hello!

Im trying to build the new version of gnomad2, which is a GTK based app for interacting with the Creative zen jukebox I have. I have been using version 2.6.3 for a while, and today they released a new version, 2.7.0. I have build the previous versions of gnomad2 without problems, but when I try to build the 2.7.0, make fails:

...
gnomad2.c: In function `scan_jukebox':
gnomad2.c:264: error: `GNOME_STOCK_BUTTON_CANCEL' undeclared (first use in this function)
gnomad2.c:264: error: (Each undeclared identifier is reported only once
gnomad2.c:264: error: for each function it appears in.)
gnomad2.c:265: warning: assignment makes pointer from integer without a cast
gnomad2.c:270: error: invalid type argument of `->'
gnomad2.c:274: error: invalid type argument of `->'
gnomad2.c: In function `set_jukeboxowner_dialog':
gnomad2.c:311: error: `GNOME_STOCK_BUTTON_OK' undeclared (first use in this function)
gnomad2.c:312: error: `GNOME_STOCK_BUTTON_CANCEL' undeclared (first use in this function)
gnomad2.c:313: warning: assignment makes pointer from integer without a cast
gnomad2.c:324: error: invalid type argument of `->'
gnomad2.c:330: error: invalid type argument of `->'
gnomad2.c: In function `main':
gnomad2.c:360: error: `GnomeProgram' undeclared (first use in this function)
gnomad2.c:360: error: `gnomad' undeclared (first use in this function)
gnomad2.c:389: error: `LIBGNOMEUI_MODULE' undeclared (first use in this function)
gnomad2.c:390: error: `GNOME_PARAM_POPT_TABLE' undeclared (first use in this function)
gnomad2.c:391: error: `GNOME_PROGRAM_STANDARD_PROPERTIES' undeclared (first use in this function)
gnomad2.c:413: warning: assignment makes pointer from integer without a cast
make[1]: *** [gnomad2.o] Error 1
make[1]: Leaving directory `/home/krigun/downloads/gnomad2/src/gnomad2-2.7.0/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

I have checked, I have all the dependecies listed below, but I do not have Gnome installed, I only use KDE.

Gnomad dependencies:
---------------------------

Gnomad +
       |
       +- GTK+-2.0 (incl GDK, GLIB)
       |
       +- libgnomeui
       |
       +- libnjb +
       |         |
       |         +- libusb (optional on *BSD)
       |
       +- libid3tag
       |
       +- GNOME 2.0

and the PKGBUILD:

pkgname=gnomad2
pkgver=2.7.0
pkgrel=1
pkgdesc="gnomad2"
license="GPL"
depends=('libnjb')
source=($pkgname-$pkgver.tar.gz)
#md5sums=('84d738840d7bc56a468f53444a0ec206')

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

Does anybody know what these errors are about? Im not too familiar with the Gnome libraries.. Do I have to install Gnome to be able to make the package?

Offline

#2 2005-10-08 14:08:51

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Error building gnomad2, missing libraries?

you want add this into pacmans path

Server = ftp://ftp.archlinux.org/tur/hapy

then

pacman -S gnomad2

its so much easier
but if your current like if you ran pacman -Suy after oct 1 i belive
then it probably wont work
mine did till the new upgrades

ive not been able to build it from source like your doing ive tried many times
i read some where in the read me files bout jsut adding  modprobe njbfs then mount it like
a mass storage device im gonna try looking into that today
i also posted ? to the forum on this

Offline

#3 2005-10-08 16:32:11

ivi3
Member
Registered: 2005-10-06
Posts: 62

Re: Error building gnomad2, missing libraries?

Offline

#4 2005-10-23 20:11:45

krigun
Member
From: Norway
Registered: 2005-06-06
Posts: 122
Website

Re: Error building gnomad2, missing libraries?

Oh, I was able to build from source, but I had to comment out some code to get it to compile. Quite dirty, but it works. The code I commented out wasnt very relevant anyways. I havent tried to build the latest version tho. Maybe those errors have been fixed.

Offline

#5 2005-10-23 20:25:02

krigun
Member
From: Norway
Registered: 2005-06-06
Posts: 122
Website

Re: Error building gnomad2, missing libraries?

Alright, the latest gnomad (2.8.1) build fine from source.

pkgname=gnomad2
pkgver=2.8.1
pkgrel=1
pkgdesc="gnomad2"
license="GPL"
depends=('libnjb')
source=(http://kent.dl.sourceforge.net/sourceforge/gnomad2/$pkgname-$pkgver.tar.gz)
md5sums=('6bae2df9f094b06cd5d606a693eb3241')

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

Offline

Board footer

Powered by FluxBB