Subject: Re: config GENERIC -> error
To: Michael Gerhards <port-i386@NetBSD.org, HM-Gerhards@uni.de>
From: Hubert Feyrer <hubertf@gmx.de>
List: port-i386
Date: 03/08/2005 03:22:55
In article <mf8cf2-r93.ln1@hmg.homeunix.net> you wrote:
> When I tried to compile the kernel with 
> cd /usr/src
> build.sh kernel=GENERIC
> 
> I got these error messages:
> 
> cleandiring the kern library objects
> rm -f a.out [Ee]rrs mklog core *.core libkern.o libkern.po
> rm: libkern.o: Permission denied
...
> Any ideas?

Fix your permissions. Run chown(8) on your /usr/src so _everything_ 
belongs to your (non-root!) user, then never again run anything related to 
compiling as root in there. :)


 - Hubert

-- 
  ___ _ _  _   _        * Harddisk Image Cloning * 
 / __| | || | | |           www.feyrer.de/g4u/
| (_ |_  _| |_| |         
 \___| |_| \___/          Version 2.0 out now!