You are not logged in.
Pages: 1
I compiled zisofs-tools (utilities for creating compressed CD-ROM filesystems) on my machine without problem. When making it into an AL package, I cannot get makepkg to create the binaries:
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> 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
==> Finished making: zisofs-tools (Tue Jan 6 11:44:32 PST 2004)
PKGBUILD
pkgname=zisofs-tools
pkgver=1.0.4
pkgrel=1
pkgdesc="Utilities for creating compressed CD-ROM filesystems."
pkgurl="http://www.kernel.org/pub/linux/utils/fs/zisofs"
depends=('glibc')
source=($pkgurl/$pkgname-$pkgver.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Markku
Offline
Hi rasat,
Looking at the Makefile for your source program, zisofs-tools, it does not use DESTDIR. Try replacing that with INSTALLROOT in your PKGBUILD file.
That seems to fix it on my system.
EDIT: Oh, and I built the package as a non-privileged user so my 'makepkg' choked earlier than yours. I'm guessing you did yours as root and it actually installed the files to your local system, but then when it tried to package it up, broke. Mine choked when trying to copy the build files to my local dirs.
Follow the link below, sign up, and accept one promotional offer. If I can get five suckers (err... friends) to do this, I'll get a free iPod. Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142
Offline
Thanks.
I was not aware there are two options: DESTDIR and INSTALLROOT. What's the difference? How do we know what to use?
PS.
The zisofs-tools is great.... only one file (+ man page), but does a good job.
# mkzftree <input_dir> <name-of-dir-where-to-compress>
For transparently compressed files ("-z"):
# mkisofs -z -o -R
I compressed the AL-AMLUG Live CD ... from 693MB to 370MB, and did a test run. Seems to be a bit faster and smoother.
Markku
Offline
Thanks.
I was not aware there are two options: DESTDIR and INSTALLROOT. What's the difference? How do we know what to use?
It depends on the Makefile shipped with the source. I'd never heard of DESTDIR until coming to Arch. I've most commonly seen "./configure --prefix=somedir" used to tell the software where to install. In this case, I just looked at the Makefile to see what to use and was lucky enough to find a DESTDIR equivalent.
Follow the link below, sign up, and accept one promotional offer. If I can get five suckers (err... friends) to do this, I'll get a free iPod. Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142
Offline
Pages: 1