Subject: Problems compiling nvi
To: None <current-users@NetBSD.ORG>
From: Curt Sampson <>
List: current-users
Date: 09/09/1996 11:15:17
Anybody tempted to respond to my previous query about problems
compiling gcc doesn't need to after all. It turned out that I'd
set DESTDIR, but not installed all of the libraries in the that
tree before trying to compile programs.

However, I've now run into another problem while trying to do a full
compile. Make in /usr/src/usr.bin/nvi/build fails:

cc -O -I/usr2/src/usr.bin/vi/build -I/usr2/src/usr.bin/vi/build/../include  -Werror -nostdinc -idirafter /usr2/install.sparc/usr/include  -c /usr2/src/usr.bin/vi/build/../common/options.c
/usr2/src/usr.bin/vi/build/../common/options.c: In function `opts_init':
/usr2/src/usr.bin/vi/build/../common/options.c:342: `_PATH_MSGCAT' undeclared (first use this function)

_PATH_MSGCAT is defined in /usr2/src/usr.bin/vi/build/pathnames.h.
However, trying the same command line by hand with -M tells me that
the preprocessor is actually including
/usr2/src/usr.bin/vi/build/../common/pathnames.h instead.

Does this work for others? Am I simply doing something wrong here?
Or is it a possible problem with the Makefile?


Curt Sampson		Info at
Internet Portal Services, Inc.	
Vancouver, BC   (604) 257-9400		De gustibus, aut bene aut nihil.