Subject: Re: "make install" lossage
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 12/24/1999 07:32:33
On Fri, 24 Dec 1999, der Mouse wrote:
> I tried to make install onto a clean disk, with a source tree from
> 1999-08-13, on a SPARC IPX. (First I did a "make build", to make sure
> all the executables were built and in place.) But when I did the
>
> make DESTDIR=/mnt install
>
> (/mnt being a freshly newfsed filesystem), I got two errors:
>
> install ===> lib/libbz2
> ls: /mnt/usr/lib/lib*.so.*.*: No such file or directory
> [...apparently benign - rest of libbz2 install looks fine...]
>
> install ===> lib/libedit
> [...normal-looking goop...]
> /mnt/usr/share/man/cat3/history_end.0 -> /mnt/usr/share/man/cat3/editline.0
> /mnt/usr/share/man/cat3/history.0 -> /mnt/usr/share/man/cat3/editline.0
> /mnt/usr/include/history.h -> /mnt/usr/include/readline.h
> ln: /mnt/usr/include/readline.h: No such file or directory
> *** Error code 1
> [...the usual nested makes doing the "Stop." thing...]
I've run into this sort of thing a few times with building netbsd-1-4.
"make install" doesn't install everything; "includes" and "depend"
install things too. I find it usually works, after "make build", to do
"make BUILD=1 UPDATE=1 DESTDIR=... RELEASEDIR=... {build,release}".
The "BUILD=1" has the disadvantage of forcing everything to relink,
but it increases the odds of success the first time through.