Subject: RE: make build fails everytime
To: Andreas Kahari <ak@freeshell.org>
From: sucho2 <sucho2@vt.edu>
List: netbsd-help
Date: 01/31/2002 22:41:21
Hi,

The exact error I'm getting is:


nstall ===> host-mkdep
cp host-mkdep /usr/src/tools/obj.i386/tools.NetBSD-1.5ZA-i386/bin/nbhost-mkdep
cp: /usr/src/tools/obj.i386/tools.NetBSD-1.5ZA-i386/bin/nbhost-mkdep: No such 
file or directory

*** Error code 1

stop.
make: stopped in /usr/src/tools/host-mkdep
*** Error code 1

stop.
make: stopped in /usr/src/tools
*** Error code 1

stop.
make: stopped in /usr/src
*** Error code 1

stop.
make: stopped in /usr/src


I've tried to compile from source under NetBSD-1.53_ALPHA but that 
distribution is very messed up!  So, I installed NetBSD 1.52ZA version of 
snapshot and distribution works great.  So, I sup -s -v the sources and 
compiled the kernel and it booted fine.

Now the new kernel is boot and I'm trying to build NetBSD.  I tried these:

trial one)

#make build (failed)


trial two)
sh build.sh (failed!)

trial three)
sh build.sh -t (failed with error again!)

trial four)
make obj (success)
make build (failed!)

I've just freshly downloaded source today!
sup -s -v


P.S. Thank you for your input, especially, Mipam, Frederick and Andreas.

Any clues to why it won't build?  I'm pretty sure it's not a hardware problem.


Yours sincerely,
Sung N. Cho,
Thursday, Jan. 31, 2002.









>===== Original Message From Andreas Kahari <ak@freeshell.org> =====
>What port are you running, i386?  Why does the build fail?
>What are the exact error messages?
>
>I've never had any problems with "make build" (I'm on i386,
>alpha and sparc).
>
>If you have a "/etc/mk.conf", try changing it's name so that it
>doesn't get used.
>
>
>Cheers,
>Andreas
>
>
>On Thu, Jan 31, 2002 at 08:32:21PM -0500, sucho2 wrote:
>
>> Hi,
>>
>> I was never successful in compiling netbsd from source.
>> I've downloaded all the files in /usr/src and to build it
>> I did:
>>
>> make build
>>
>> This of course fails to build everytime ending with
>> errors.
>>
>>
>> So, I did the second one:
>>
>> sh build.sh
>>
>> This goes alot further but eventually ends with errors!
>> Anybody successful at building netbsd from source?
>>
>> At first I thought it was my optimizations causing these
>> compilation problems.  So, I'm not using any optimizations
>> yet it fails to build.  I don't think I ever had such
>> difficulty in building from source for freebsd.
>>
>> Any tips on building netbsd from source?
>>
>>
>> Regards, Sung N. Cho, Thursday, Jan. 31, 2002.
>
>--
>Andreas Kahari, Dunedin, New Zealand
>--------------------------------------