Subject: Re: problems trying to build today's -current
To: Izumi Tsutsui <>
From: Steven M. Bellovin <>
List: current-users
Date: 02/14/2003 21:38:59
In message <>, Izumi Tsutsui wr
>In article <>
> wrote:
>> >> > /usr/src/gnu/usr.bin/grep/grep/obj -> /usr/obj/gnu/usr.bin/grep/grep
>> >> > mkdir: /usr/obj/gnu/usr.bin/grep/grep: Not a directory
>> >> > *** Error code 1
>> >> 
>> >> I've gotten that before: you need to delete or move the file and make the
>> >> directory (at least I did). It was some oddness due to a new version of
>> >> grep.
>> >
>> >I think the right way is "make cleandir" _before_ "cvs update".
>> I don't think so -- the problem was in /usr/obj, ande I was doing the 
>> update in /usr/src.
>The old Makefile built all objects under /usr/obj/gnu/usr.bin/grep
>and it removed /usr/obj/gnu/usr.bin/grep/grep on cleandir target.
>New one creats /usr/obj/gnu/usr.bin/grep/grep/ for OBJDIR
>and it no longer cleans files under /usr/obj/gnu/usr.bin/grep.

Which suggests that I should have done a 'make cleandir' before the, rather than before the 'cvs update'.  That seems reasonable 
-- I got it to work by 'rm -rf /usr/obj'.

		--Steve Bellovin, (me) (2nd edition of "Firewalls" book)