From: leisner@wrc.xerox.COM ( Marty Leisner)
Subject: Problems with binutils 2.0
Reply-To: leisner.henr801c@xerox.com
Organization: Xerox
Distribution: gnu
Date: Wed, 14 Oct 1992 19:56:25 GMT

I tried to install bin-utils 2.0.

I'm using SunOS 4.1.2 on sparcs and gmake 3.62, gcc 2.2.2.

It doesn't seem to want to compile with gcc...most other configure scripts
know to use gcc...

When I run make -n install after what appears to be a successful make, I get...
c" "BISON=bison -y"
make[2]: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/opcodes'
for i in ; do if [ -d ./$i ] ; then if (cd ./$i; make prefix=/usr/gnu exec_prefix=/usr/gnu tooldir=/usr/gnu/lib AR=ar AR_FLAGS=qc CC=cc CFLAGS=-g RANLIB=ranlib LOADLIBES= LDFLAGS= BISON=bison\ -y LEX=flex MAKEINFO=/a/rockwell/root/dk3g/gnu/src/binutils-2.0/texinfo/C/makeinfo INSTALL=install\ -c INSTALL_DATA=install\ -c INSTALL_PROGRAM=install\ -c DO=install DODIRS= against= AR=ar AR_FLAGS=qc CC=cc CFLAGS=-g RANLIB=ranlib MAKEINFO=/a/rockwell/root/dk3g/gnu/src/binutils-2.0/texinfo/C/makeinfo INSTALL=instal





\ -c INSTALL_DATA=install\ -c INSTALL_PROGRAM=install\ -c BISON=bison\ -y "against=" "AR=ar" "AR_FLAGS=qc" "CC=cc" "CFLAGS=-g" "RANLIB=ranlib" "MAKEINFO=/a/rockwell/root/dk3g/gnu/src/binutils-2.0/texinfo/C/makeinfo" "INSTALL=install -c" "INSTALL_DATA=install -c" "INSTALL_PROGRAM=install -c" "BISON=bison -y" install) ; then true ; else exit 1 ; fi ; else true ; fi ; done
/bin/sh: syntax error at line 1: `;' unexpected
make[2]: *** [subdir_do] Error 2
make[2]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/opcodes'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/opcodes'
make: *** [install-opcodes] Error 1
make: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0'



When I just try a make install I get:
leisner@annapurna$ make -w install
make: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0'
for i in /usr/gnu /usr/gnu /usr/gnu/lib ; do echo Making $i... ; parent=`echo $i|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi ; if [ ! -d $i ] ; then if mkdir $i ; then true ; else exit 1 ; fi ; else true ; fi ; done
Making /usr/gnu...
Making /usr/gnu...
Making /usr/gnu/lib...
make[1]: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/bfd'
parent=`echo /usr/gnu/lib|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi
if [ -d /usr/gnu/lib ] ; then true ; else mkdir /usr/gnu/lib ; fi
install -c libbfd.a /usr/gnu/lib/libbfd.a
ranlib /usr/gnu/lib/libbfd.a
parent=`echo /usr/gnu/include|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi
if [ -d /usr/gnu/include ] ; then true ; else mkdir /usr/gnu/include ; fi
install -c ./../include/bfd.h /usr/gnu/include/bfd.h
if [ -z "" ] ; then true ; else if [ -d  ] ; then true ; else mkdir  ; fi ; install -c ./../include/bfd.h /bfd.h ; fi
make[2]: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/bfd'
make[3]: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/bfd/doc'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/bfd/doc'
make[2]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/bfd'
make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/bfd'
make[1]: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/binutils'
parent=`echo /usr/gnu/bin|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi
if [ -d /usr/gnu/bin ] ; then true ; else mkdir /usr/gnu/bin ; fi
for i in size objdump nm ar strip ranlib ; do install -c $i /usr/gnu/bin/`t=''; echo $i | sed -e "" $t` ; done
if [ -d /usr/gnu/lib ] ; then true ; else mkdir /usr/gnu/lib ; fi
rm -f /usr/gnu/lib/nm
cd /usr/gnu/lib; ln -s /usr/gnu/bin/nm nm
parent=`echo /usr/gnu/man/man1|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi
if [ -d /usr/gnu/man/man1 ] ; then true ; else mkdir /usr/gnu/man/man1 ; fi
for i in ar nm objdump ranlib size strip ; do install -c ./$i.1 /usr/gnu/man/man1/`t=''; echo $i | sed -e "" $t`.1 ; done
make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/binutils'
make[1]: Entering directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/opcodes'
parent=`echo /usr/gnu/lib|sed -e 's@/[^/]*$@@'`; if [ -d $parent ] ; then true ; else mkdir $parent ; fi
if [ -d /usr/gnu/lib ] ; then true ; else mkdir /usr/gnu/lib ; fi
install -c libbfd.a /usr/gnu/lib/libbfd.a
install: libbfd.a: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0/opcodes'
make: *** [install-opcodes] Error 1
make: Leaving directory `/a/rockwell/root/dk3g/gnu/src/binutils-2.0'

I never had good success with the binutils and would appreciate some help.

Also, the documentation says its using TeXinfo 2.78, but the texinfo I'm using
is really 2.15.

--
marty
leisner.henr801c@xerox.com  
Member of the League for Programming Freedom

Newsgroups: gnu.utils.bug