Subject: Re: building vi on recent current
To: None <current-users@NetBSD.ORG>
From: Paul M. Newhouse <>
List: current-users
Date: 07/09/1997 13:33:44
>>I got the tar_files from current a few days ago.
>>In src/usr.bin/vi I get:
>>===> build
>>cc -O -I/Net/usr/src/usr.bin/vi/build -I/Net/usr/src/usr.bin/vi/build/../include  -Werror  -c /usr/src/usr.bin/vi/build/../common/options.c
>>/usr/src/usr.bin/vi/build/../common/options.c: In function `opts_init':
>>/usr/src/usr.bin/vi/build/../common/options.c:342: `_PATH_MSGCAT' undeclared (first use this function)
>>Can anybody tell me where _PATH_MSGCAT is supposed to be set to and
>>what it is supposed to be set to?
>It's declared in /usr/src/usr.bin/vi/build/pathnames.h.

It is defined there.  there is also a "pathnames.h" in common.  The one in common 
gets picked?  Not the one in build.  I inserted:

   #include "../build/pathnames.h" 

after the include of "pathnames.h".  vi compiles ok and seems to work?

>I think your source tree may be inconsistent.

I re-loaded from:

(I think that's the path I used?) last night (about 01:30 today actually). 
I still have this problem.

Very strange!