You are not logged in.

#1 2008-07-30 20:53:55

axel
Member
Registered: 2007-12-10
Posts: 77

[PKGBUILD] Problem with kradio PKBUILD

kradio still has kdelibs as a dependency which causes me conflicts with kdemod3-kdelibs. So I tried to modify kradio's PKGBUILD. Then I saw that its version wasn't the latest one. So I am trying to compile the latest one from here: http://kradio.sourceforge.net/download.html

The problem is with unsermake. As mentioned in the above page "Please be aware, that this kradio release will only compile properly using unsermake."

I installed unsermake from AUR but I get the following error message during makepkg:

WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!
/usr/src/unsermake/unsermake all
make: /usr/src/unsermake/unsermake: Command not found
make: *** [all] Error 127
==> ERROR: Build Failed.
    Aborting...

unsermake is installed under /usr/bin/unsermake However I don't see an option for that in configure.

Could anyone help me fixing the PKGBUILD with unsermake? Is there a way to use automake instead of unsermake?

This is the PKGBUILD so far.

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>

pkgname=kradio
pkgver=0.3.0
pkgrel=5
arch=(i686 x86_64)
license=('GPL')
pkgdesc="KRadio is a comfortable KDE radio application"
url="http://kradio.sourceforge.net/"
depends=('lame' 'kdelibs3' 'libsndfile' 'lirc-utils')
source=(http://kradio.sourceforge.net/download/kradio-snapshot-2006-11-12-r497.tar.gz)
md5sums=('1ef0d94a7aa9d7e0d66ce0e80e0ab48e')

build() {
  cd $startdir/src/kradio-snapshot-2006-11-12-r497
   ./configure --prefix=/opt/kde
   make || return 1
   make DESTDIR=$startdir/pkg install
 }

I tried unsermake instead of make in the above PKGBUILD but I get the following errors and the build stops:
Error creating ./kradio3/plugins/lirc/lircsupport.lo. Exit status 1.
Error creating ./kradio3/plugins/lirc/lirc-configuration.lo. Exit status 1.
Error creating ./kradio3/plugins/radio/radio-configuration.lo. Exit status 1.

Last edited by axel (2008-07-30 21:24:09)

Offline

#2 2008-08-08 22:11:14

kotyz
Member
Registered: 2007-06-24
Posts: 28

Re: [PKGBUILD] Problem with kradio PKBUILD

I also try to make kdemod3-kradio PKGBUILD, but I have the same problems (Error creating ./kradio3/plugins/lirc/lircsupport.lo. Exit status 1.).

Offline

#3 2008-08-08 22:12:16

kotyz
Member
Registered: 2007-06-24
Posts: 28

Re: [PKGBUILD] Problem with kradio PKBUILD

Maybe we should try older version of kradio ...

Offline

#4 2008-10-22 18:38:15

axel
Member
Registered: 2007-12-10
Posts: 77

Re: [PKGBUILD] Problem with kradio PKBUILD

I tried again and managed to build the latest kradio just by disabling lirc support. So if you don't care for lirc this is a PKGBUILD that worked for me. You must also have unsermake installed from AUR to compile it.

PS: I still have kdemod3 so in depends I've put kdelibs3.

PS: If anyone knows how to compile it without disabling lirc he's welcome. smile

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>

pkgname=kradio
pkgver=0.3.0
pkgrel=5
arch=(i686 x86_64)
license=('GPL')
pkgdesc="KRadio is a comfortable KDE radio application"
url="http://kradio.sourceforge.net/"
depends=('lame' 'kdelibs3' 'libsndfile' 'lirc-utils')
source=(http://kradio.sourceforge.net/download/kradio-snapshot-2006-11-12-r497.tar.gz)
md5sums=('1ef0d94a7aa9d7e0d66ce0e80e0ab48e')

build() {
  cd $startdir/src/kradio-snapshot-2006-11-12-r497
   ./configure --disable-lirc --prefix=/opt/kde
   unsermake || return 1
   unsermake DESTDIR=$startdir/pkg install
}

Offline

Board footer

Powered by FluxBB