You are not logged in.
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
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
http://bbs.archlinux.org/viewtopic.php?p=117431#117431
greetings
Mathias
Offline
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
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