Thursday, October 29, 2009

(SOLVED)Clive Error

When installing clive I got this error on my KahelOS Desktop.

Can't locate clive/App.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at /usr/bin/clive line 31.
BEGIN failed--compilation aborted at /usr/bin/clive line 31.

use this PKGBUILD
# $Id: PKGBUILD 4029 2009-10-13 21:39:43Z ibiru $
# Maintainer: Daniel J Griffiths
# Contributor: Geoffroy Carrier
# Contributor: Benjamin Andresen
# Contributor: Kristaps Esterlins
# Contributor: Byron Clark

pkgname=clive
pkgver=2.2.7
pkgrel=1
pkgdesc="Video extraction/download tool for youtube and other websites."
url="http://code.google.com/p/clive/"
license=("GPL")
arch=('i686' 'x86_64')
depends=('perl-www-curl' 'perl-uri' 'perl-html-parser' 'perl-config-tiny' 'perl-berkeleydb' 'perl-class-singleton' 'perl-getopt-argvfile')
source=(http://clive.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3f713d996b9a440f83188c19db4023a0')

build() {
cd ${srcdir}/${pkgname}-${pkgver}
perl Makefile.PL INSTALL_BASE=${pkgdir}/usr INSTALLDIRS=vendor INSTALLVENDORLIB="$pkgdir/usr/lib/perl5/vendor_perl"||return 1
make || return 1
make install||return 1
mkdir ${pkgdir}/usr/share
mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man
}

Here are the steps that I did to install it.
1.mkdir /tmp/clive
2.put PKGBUILD above inside your /tmp/clive directory
3.use or type "makepkg"
this will create: clive-2.2.7-1-i686.pkg.tar.gz
4.install package
pacman -U clive-2.2.7-1-i686.pkg.tar.gz

Let me know if this helps you.

Reference:
http://bugs.archlinux.org/task/16629

No comments: