Subject: Re: (non)install packages as root?
To: Michael G. Schabert <mikeride@mac.com>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 04/30/2003 14:32:02
> As long as you do the install as a user with "su" privileges, the 
> packages system will do the compiling without being root, and it will 
> ask you for the password to "su" for the installation phase.
what do you mean by "user with su privileges"? is it user that can do 
"su", i.e. member of the wheel group? i am member of that group and can 
do su, but if i do make / make install in any of the pkgsrc 
subdirectories, i get
=> Can't download to /usr/pkgsrc/distfiles/ (permission denied?).
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/xmahjongg
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/xmahjongg

probably i have to change permissions to pkgsrc/distfiles...
after changing permissions to rwxrwxr-x it downloads the package, but
=> Checksum OK for xmahjongg.tar.gz.
mkdir: /usr/pkgsrc/games/xmahjongg/work: Permission denied
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/xmahjongg

so it doesn't work - what i'm doing bad?

regards,
lubos

-- 
-
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic

shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 541 129 508
#################################################