NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 7.0 i386 mkdep fails



On Sun, Jun 05, 2016 at 12:55:31PM +0530, Mayuresh wrote:
> On Sun, Jun 05, 2016 at 07:04:14AM +0000, coypu%SDF.ORG@localhost wrote:
> > On Sun, Jun 05, 2016 at 12:24:01PM +0530, Mayuresh wrote:
> > > ERROR: build.sh must be run from the top source level
> > > *** BUILD ABORTED ***
> > 
> > This error occurs when there is no usr.bin/make directory.
> > [ -d usr.bin/make ] || bomb "build.sh must be run from the top source level"
> > 
> > (I don't have a fuller explanation as to why.)
> 
> I installed it from
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0/source/sets/syssrc.tgz
> 
> # pwd
> /usr/src
> 
> # ls -l usr.bin/
> total 4
> drwxr-xr-x  3 root  wheel  512 Sep 25  2015 config
> 
> Also once again I downloaded above set and tested the following:
> 
> # tar tvfz syssrc.tgz | grep "usr.bin/make"
> #
> 
> Is the set I picked alright?
> 
> Mayuresh.

The easiest way to get it to work is to grab the full source sets.

I'm not sure build.sh should be checking for it, it is just testing if
it's at /usr/src in a way that is unlikely to change any time soon.

I strongly suspect that after doing this, even `make depend` will Just
Work.


Home | Main Index | Thread Index | Old Index