Subject: gnu install
To: None <port-mac68k@NetBSD.ORG>
From: Daniel R. Killoran,Ph.D. <drk@shore.net>
List: port-mac68k
Date: 08/20/1999 09:49:37
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:

After installing gnusrc.tgz under /, I cd'ed to /usr/src/gnu/dist and,
following the instructions of the README, I typed

./configure

and got

Configuring for a m68k-apple-netbsd1.4 host.
Created "Makefile" in /usr/src/gnu/dist
Links are now set up to build a native compiler for m68k-apple-netbsd1.4
configure: warning: mmalloc not found - building without it
test: -O2: unknown operand
sed: ./tests/Makefile.in: No such file or directory
sed: ./m4/Makefile.in: No such file or directory
sed: ./djgpp/Makefile.in: No such file or directory
sed: ./vms/Makefile.in: No such file or directory
sed: ./bootstrap/Makefile.in: No such file or directory

Not knowing what, if anything, I should do about this, I tried

make

and after a lot of stuff, I got

make all-recursive
Making all in doc
rm -f bfd-tmp.h
cp bfd-in3.h bfd-tmp.h
/bin/sh ./../move-if-change bfd-tmp.h bfd.h
rm -f bfd-tmp.h
touch stmp-bfd-h
/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.


I tried going into /usr/src/gnu/lib and typing "make", I got, after MANY
hours of compiling and other futzing around:

all ===> libstdc++/config
rootme=/usr/src/gnu/lib/libstdc++/config CC="cc" CXX="c++" CONFIG_NM="nm"
CPP="cc -E -nostdin
c -idirafter /usr/include"  /bin/sh
/usr/src/gnu/lib/libstdc++/config/../../../dist/libio/gen-
params LIB_VERSION=2.9.0 >_G_config.h
all ===> libstdc++/std
all ===> libstdc++/stl
all ===> libstdc++/io
Aug 18 03:15:08  sendmail[21683]: NOQUEUE: SYSERR(root): hash map "Alias0":
unsafe map file
/etc/aliases: No such file or directory
Aug 18 03:15:08  sendmail[21683]: NOQUEUE: SYSERR(root): hash map "Alias0":
unsafe map file /e
tc/aliases: No such file or directory
Aug 18 03:15:13  sendmail[21690]: NOQUEUE: SYSERR(root): hash map "Alias0":
unsafe map file /e
tc/aliases: No such file or directory
Aug 18 03:15:13  sendmail[21690]: NOQUEUE: SYSERR(root): hash map "Alias0":
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
Aug 18 03:28:07  sendmail[22746]: NOQUEUE: SYSERR(root): hash map "Alias0":
unsafe map file /e
tc/aliases: No such file or directory


Re-trying the "make" in /usr/src/gnu/dist gave:

make all-recursive
Making all in doc
/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.


What am I doing wrong? Is there some sort of cannonical order in which this
stuff should be installed?

Dan Killoran