Subject: NetBSD 1.5.2 make install error
To: None <netbsd-help@netbsd.org>
From: Johan A. van Zanten <johan@ragno.ewranglers.com>
List: netbsd-help
Date: 07/12/2002 03:04:58
I'm seeing a strange problem when running "make install" as root on a
NetBSD 1.5.2 machine.

Commands leading up to this are essentially:

cd /usr/src
cvs update -d -P -r netbsd-1-5
make dependall
make install


(Everything up to the make install works.)

The errors look like this:

install ===> usr.bin/bzip2recover
make: don't know how to make bzip2recover.1. Stop

install -r -p -c -s   -o root -g wheel -m 555 dirname /usr/bin/dirname
make: don't know how to make dirname.1. Stop

install ===> locate/bigram
make: don't know how to make locate.bigram.1. Stop

The problem files seem to be files which are installed as hard links to
other section 1 man pages.

CVS tree is up-to-date as off about 15 hours ago.

When i look in the subdirectories involved, the man page files make is
 complain about are in fact missing.

I can touch the files, or hard link them to the "correct" companion, and
 then the "make install" will proceed.

 Any ideas?

 -johan

/etc/mk.conf contains:

R=/local/obj
CCOPTS+=-mcpu=v8
MKDOC=no
MKINFO=no
MKNLS=no
#
MKMAN=yes
MKCATPAGES=no

# If defined, 'make install' only installs targets that are more recently
# modified in the source directories that their installed counterparts.
UPDATE=yes

# If defined, 'make install' checks that the targets in the source
# directories are up-to-date and remakes them if they are out of date,
# instead of blindly trying to install out of date or non-existant
# targets.
BUILD=yes