You are not logged in.
Hello,
I'm trying to build my first package from scratch. It's "Biometrics manager" a GUI form BioAPI package.
I wrote a very basic PKGUILD
pkgname=biometrics-manager
pkgver=0.4rc1
pkgrel=1
pkgdesc="Gnome graphical interface for BioAPI"
url="http://www.nax.cz/2006/12/06/usability-tests-of-my-fingerprint-manager-gui/"
options=('!LIBTOOL')
arch=('i686')
license="GPL"
depends=('pam_bioapi' 'bioapi')
#md5sums=('5bdc98a888c324e091548de25b04d9f6')
source=(http://www.nax.cz/pub/bioapi/pam_bioapi/biometrics-manager-0.4rc1.tar.gz)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
But when I try to build it I get :
/bin/install: cannot create regular file `/etc/pam.d/biometrics-manager': Permission denied
Isn't the fakeroot supposed to be there just to get rid of that kind of problems ?
thanks a lot and sorry for the newbie question
Offline
maybe fakeroot isn't enabled in /etc/makepkg.conf ... in the BUILDENV array; !fakeroot -> fakeroot
Last edited by raeven (2007-06-23 13:33:30)
Offline
My array is :
BUILDENV=(fakeroot !distcc color !ccache)
Offline
In PKGBUILD after " ./configure --prefix=/usr " put :
sed -i "s|/etc/pam.d/|$startdir/pkg/etc/pam.d/|g" /etc/pam.d/Makefile
I dont built this so maybe dont work.
Offline
Thanks but I still get the same problem.
I noticed that the error comes after the command : /bin/sh ../../mkinstalldirs /etc/pam.d/
What can I do ?
Thanks for your help
Offline
I wrong : sed -i "s|/etc/pam.d/|$startdir/pkg/etc/pam.d/|g" /etc/pam.d/Makefile its
sed -i "s|/etc/pam.d/|$startdir/pkg/etc/pam.d/|g" etc/pam.d/Makefile
I put a "/" more
CFGINST in $startdir/biometrics-manager-0.4rc1/etc/pam.d/Makefile its guilty.
Offline
Thanks a lot, works great!
Offline