Subject: Re: make build problems...
To: David Brownlee <david@mono.org>
From: Andrew K. Adams <akadams@wraith.psc.edu>
List: current-users
Date: 02/12/1997 15:46:51
>On Wed, 12 Feb 1997, Andrew K. Adams wrote:
>
>> When I type "make build", make complains that it does not know how to
>> "make includes".
>> 
>> bash# make build
>> (cd /usr/src/share/mk && make install)
>> install -c -o bin -g bin -m 444 bsd.README bsd.doc.mk bsd.dep.mk bsd.kmod.mk
 bsd.lib.mk bsd.man.mk  bsd.nls.mk bsd.obj.mk bsd.own.mk bsd.prog.mk bsd.subdir
.mk bsd.sys.mk  sys.mk  /usr/share/mk
>> make includes
>> make: don't know how to make includes. Stop
>> *** Error code 2
>> 
>> Stop.
>> 
>> If I execute that command manually (which works normally), then
>> comment out the "make includes" line and run "make build" again...it
>> complains about "make cleandir".  I have seen this problem posted to
>> current before, but I have never seen a solution.  This problem has
>> occurred with every build I have attempted from 1.1 on.  I would
>> appreciate any insight on why this is happening.
>> 
>> I have an i386 box with 16M of Ram and I did install the current
>> version of usr.bin/make first.  My path while root is:
>> 
>> bash# echo $PATH
>> /home/akadams/bin:/bin:/usr/bin:/usr/psc/bin:/usr/psc/gnu/bin:/usr/local/bin
:/usr/games:/usr/X11/bin:/sbin:/usr/sbin:/usr/psc/sbin:/usr/local/sbin
>> 
>	If you've downloaded the source tree via tarballs you'll 
>	probably need to download /usr/src/Makefile as well.
>
>	Hey - anyone for putting /usr/src/Makefile into a subdir
>	and making /usr/src/Makefile just include it - that way
>	people who use tarballs avoid this? :)
>

I have been using sup via sup.netbsd.org.  The Makefile I am using is:

-rw-r--r--   1 root  wheel  208 Jan 22 07:08 Makefile

with the RCS heading:

$NetBSD: Makefile,v 1.5 1997/01/22 04:19:48 thorpej Exp $

Thanks,
Andrew Adams


--
Andrew K. Adams				Office:	409-D Mellon Institute
Network Engineer			Phone:	(412) 268-5142
Pittsburgh Supercomputing Center	Fax:	(412) 268-5832
Carnegie Mellon University		Email:	akadams@psc.edu
Pittsburgh, PA 15213			http://wraith.psc.edu/~akadams/