You are not logged in.

#1 2006-11-30 01:09:58

nozey
Member
From: Brazil
Registered: 2006-04-29
Posts: 12

Problem while making a package for sublib

Im trying to make a package for sublib, but im have some problems. Currently my PKGBUILD looks like this:

# Contributor: Hugo Doria (hugodoria@)

pkgname=sublib
pkgver=0.3
pkgrel=1
pkgdesc="SubLib is a library for managing movie subtitles. It supports the most common subtitle formats and allows for subtitle editing, conversion and synchronization."
depends=('mono')
source=(http://dl.sourceforge.net/sourceforge/sublib/$pkgname-$pkgver.zip)
url="http://sublib.sourceforge.net/"
md5sums=('40dff28492846de9e11e86eaaa37acb1')

build() {
 
  export MONO_SHARED_DIR=$startdir/src/.wab
  mkdir -p "${MONO_SHARED_DIR}"

  cd $startdir/src/$pkgname-$pkgver
  
  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install

  rm -rf "${MONO_SHARED_DIR}"

}

Every time i run 'makepkg' i get this error:

Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors

I tought that 'DESTDIR' would fix it, but it didnt. Any sugestions?


Yep! I know ... my english sucks

Offline

#2 2006-11-30 02:45:27

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

Re: Problem while making a package for sublib

Probably it doesn't use DESTDIR, Instead, try prefix or PREFIX or it might be something else. Looking at the Makefile will tell you which one it use.

Offline

#3 2006-11-30 02:46:14

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Problem while making a package for sublib

It means its not installing it where you want it, most likely in the rootfs. Try running it as regular user and see if you get permision errors. You could also try PREFIX=. See the makepkg manpage.

Offline

Board footer

Powered by FluxBB