Subject: Re: gnu install
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Daniel R. Killoran,Ph.D. <drk@shore.net>
List: port-mac68k
Date: 08/20/1999 16:10:17
>On Fri, 20 Aug 1999, Daniel R. Killoran,Ph.D. wrote:
>
>> I have been attempting, with limited success, to install the gnu programs
>> that come with NetBSD. I am not sure this is the correct forum (should I be
>> inquiring of the gnu people? and if so, where?), but this is the situation:
>
>Why?
>

I suppose it might help if I stated my ultimate objective. I need
assemblers for a nunber of microprocessors - e.g. the 6809.  There are no
longer, alas, any available for the Mac, using the Mac OS. Rather than go
over to the Evil Empire, I am looking for useful cross-assemblers in Unix.
I suspect that gas might be one. But apparently just "installing"
gnusrc.tgz doesn't get me gas, so I have been attempting to do whatever is
needed.

[snip]

>> /bin/sh ./libtool --mode=compile gcc -O2 -DHAVE_CONFIG_H -I. -I. -I.
>> -D_GNU_SOURCE  -DNETBSD_C
>> ORE   -I. -I. -I./../include   -g -c archive.c
>> ./libtool: Can't open ./libtool
>> *** Error code 2
>>
>> Stop.
>> *** Error code 1
>>
>> Stop.
>
>Weird.

Yes, I thought so too!

[snip]

>> unsafe map file /e
>> tc/aliases: No such file or directory
>> Aug 18 03:28:07  sendmail[22746]: NOQUEUE: SYSERR(root): hash map "Alias0":
>> unsafe map file /e
>> tc/aliases: No such file or directory
>
>Looks fine. All the errors you report are sendmail waking up and being
>upset that your aliases file isn't ok. Run "newaliases" and it should be
>fine.
>

Oh! I didn't realize that! Thanks!


>> Re-trying the "make" in /usr/src/gnu/dist gave:
>
>Don't. The only reason to make stuff out of here is to build
>cross-compilers.
>

Hmm. By cross-compilers you mean compilers-for-NetBSD-on-other-platforms?
That's not the kind I'm looking for, of course!

>>
>>
>> What am I doing wrong? Is there some sort of cannonical order in which this
>> stuff should be installed?
>
>cd /usr/src
>make build
>(wait)
>
>make build -j 10 would probably help too. When the build gets to where
>it's making things in parallel, this will fork 10 processes to make stuff.
>

Thanks, I'll try that!

>Also, you'll probably want to make with DESTDIR set so that you don't
>overwrite your running system with the build. You also might have to
>re-build some of the compilation tools. Not sure.
>

Urkkk! Maybe I don't want to do that after all - I'm not trying to build
NetBSD!

Still a bit confused, but thanks,

Dan Killoran

______________________________________________________________________________
Got a device you would like to have run on the Mac? Call:
                 Daniel-the-Driver-Maker
      Fast service - accurate work - responsive support

         (Offer void wherever taxed or prohibited!)