Subject: Re: Can't compile -current with read-only SRCDIR
To: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 12/19/1999 14:31:06
On Sun, 19 Dec 1999, Julian Coleman wrote:

> Just trying to compile -current using obj directories and a read-only src
> directory.  It fails with :
> 
>   (cd /usr/src/share/tmac && make && make install)
>   sed -f /usr/src/share/tmac/../me/strip.sed <
/usr/src/share/tmac/doc-common > /usr/src/share/tmac/tmac.doc-common
                                 ^^^^^^^^^^^^^^^^^^^^ 
>   cannot create /usr/src/share/tmac/tmac.doc-common: permission denied

Strange. When I try it, it's just "> tmac.doc-common", with or without
an obj directory; no fullpath on the target.

> Haven't tried this for a while.  Any ideas?

I've built current with a read-only src directory a few times, the
latest not less than a couple of weeks ago. You might try "make
install" in /usr/src/share/mk before doing "make obj" and "make build"
again from the top.