public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* final install problems
@ 2001-10-30 21:13 David
  2001-10-30 23:21 ` Zack Weinberg
  0 siblings, 1 reply; 2+ messages in thread
From: David @ 2001-10-30 21:13 UTC (permalink / raw)
  To: gcc

Upon a apparent successfull build of GCC-3.0.2 I attempt to go to the objdir
which happens to be '/usr/gcc' on this machine and attempt 'make install' upon
this is the output:  The rest of this will be all output from the command
issued.  Again the actaul 'make bootstrap' appeared to go smoothly with only a
few small errors like unexpected tokens, but the install exited just as any
other gcc build I have done has. 
Thanks for your help dport113@bellsouth.net
The dump from command line is as follow : 


[root@DW2 gcc]# make install (cd intl && make all) make[1]: Entering directory
`/usr/gcc/intl' make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/gcc/intl'
(cd po && make all)
make[1]: Entering directory `/usr/gcc/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/gcc/po'
if [ -d /usr/local ] ; then true ; else mkdir /usr/local ; chmod a+rx /usr/local ; fi
if [ -d /usr/local ] ; then true ; else mkdir /usr/local ; chmod a+rx /usr/local ; fi
if [ -d /usr/local/lib ] ; then true ; else mkdir /usr/local/lib ; chmod a+rx /usr/local/lib ; fi
if [ -d /usr/local/lib/gcc-lib ] ; then true ; else mkdir /usr/local/lib/gcc-lib ; chmod a+rx /usr/local/lib/gcc-lib ; fi
fdir= ; for dir in `echo /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2 | tr '/' ' '`; do \  fdir=${fdir}/${dir}; \
  if [ -d ${fdir} ] ; then true ; else mkdir ${fdir}; chmod a+rx ${fdir}; fi ; \
done
if [ -d /usr/local/bin ] ; then true ; else mkdir /usr/local/bin ; chmod a+rx /usr/local/bin ; fi
if [ -d /usr/local/include ] ; then true ; else mkdir /usr/local/include ; chmod a+rx /usr/local/include ; fi
if [ -d /usr/local/info ] ; then true ; else mkdir /usr/local/info ; chmod a+rx /usr/local/info ; fi
if [ -d /usr/local/lib ] ; then true ; else mkdir /usr/local/lib ; chmod a+rx /usr/local/lib ; fi
parent=`echo /usr/local/man/man1|sed -e 's@/[^/]*$@@'`; \
if [ -d $parent ] ; then true ; else mkdir $parent ; chmod a+rx $parent ; fi
if [ -d /usr/local/man/man1 ] ; then true ; else mkdir /usr/local/man/man1 ; chmod a+rx /usr/local/man/man1 ; fi
if [ -f specs.ready ] ; then \
	true; \
else \
	echo timestamp > specs.ready; \
fi
if [ -f cc1plus ] ; then \
  if [ -f g++-cross ] ; then \
    rm -f /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g++ | sed $t`; \
    /X/install -c g++-cross /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g++ | sed $t`; \
    chmod a+x /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g++ | sed $t`; \
    rm -f /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo c++ | sed $t`; \
    ln /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g++ | sed $t` /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo c++ | sed $t`; \
    if [ -d /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/../../../../i686-pc-linux-gnu/bin/. ] ; then \
      rm -f /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/../../../../i686-pc-linux-gnu/bin/g++; \
      /X/install -c g++-cross /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/../../../../i686-pc-linux-gnu/bin/g++; \
chmod a+x /usr/local/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    rm -f /usr/local/bin/`t='s,x,x,'; echo c++ | sed $t`; \
    ln /usr/local/bin/`t='s,x,x,'; echo g++ | sed $t` /usr/local/bin/`t='s,x,x,'; echo c++ | sed $t`; \
    rm -f /usr/local/bin/i686-pc-linux-gnu-g++; \
    ln /usr/local/bin/`t='s,x,x,'; echo g++ | sed $t` /usr/local/bin/i686-pc-linux-gnu-g++; \
    rm -f /usr/local/bin/i686-pc-linux-gnu-c++; \
    ln /usr/local/bin/`t='s,x,x,'; echo c++ | sed $t` /usr/local/bin/i686-pc-linux-gnu-c++; \
  fi ; \
  if [ xc++filt != x ] && [ -x "c++filt" ]; then \
    if [ -f g++-cross ] ; then \
      rm -f /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo c++filt | sed $t`; \
      /X/install -c c++filt /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo c++filt | sed $t`; \
      chmod a+x /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo c++filt | sed $t`; \
    else \
      rm -f /usr/local/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
      /X/install -c c++filt /usr/local/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
      chmod a+x /usr/local/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
    fi ; \
  fi ; \
fi
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/g++: No such file or directory
ln: /usr/local/bin/g++: No such file or directory
ln: /usr/local/bin/g++: No such file or directory
ln: /usr/local/bin/c++: No such file or directory
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/c++filt: No such file or directory
make: [c++.install-common] Error 1 (ignored)
case "c gcov c++ f77 java objc" in \
  *[fF]77*) echo timestamp > /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/lang-f77.com;; \
  *) rm -f /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/lang-f77.com;; \
esac
if [ -f /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/lang-f77.com -a -f f771 ] ; then \
  if [ -f g77-cross ] ; then \
    rm -f /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g77 | sed $t`; \
    /X/install -c g77-cross /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g77 | sed $t`; \
    chmod a+x /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo g77 | sed $t`; \
  else \
    rm -f /usr/local/bin/`t='s,x,x,'; echo g77 | sed $t`; \
    /X/install -c g77 /usr/local/bin/`t='s,x,x,'; echo g77 | sed $t`; \
    chmod a+x /usr/local/bin/`t='s,x,x,'; echo g77 | sed $t`; \
  fi ; \
else true; fi
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/g77: No such file or directory
make: [f77.install-common] Error 1 (ignored)
rm -f /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/lang-f77.com
if [ -f gcj ]; then \
  if [ -f gcj-cross ]; then \
    rm -f /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo gcj | sed $t`; \
    /X/install -c gcj-cross /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo gcj | sed $t`; \
    chmod a+x /usr/local/bin/`t='s,^,i686-pc-linux-gnu-,'; echo gcj | sed $t`; \
  else \
    rm -f /usr/local/bin/`t='s,x,x,'; echo gcj | sed $t`; \
    /X/install -c gcj /usr/local/bin/`t='s,x,x,'; echo gcj | sed $t`; \
    chmod a+x /usr/local/bin/`t='s,x,x,'; echo gcj | sed $t`; \
  fi ; \
fi ; \
 for tool in gcjh jv-scan jcf-dump; do \
          if [ -f $tool ]; then \
    rm -f /usr/local/bin/$tool; \
    /X/install -c $tool /usr/local/bin/$tool; \
    chmod a+x /usr/local/bin/$tool; \
          fi ; \
       done
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/gcj: No such file or directory
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/gcjh: No such file or directory
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/jv-scan: No such file or directory
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
chmod: /usr/local/bin/jcf-dump: No such file or directory
make: [java.install-common] Error 1 (ignored)
for file in cc1  cc1plus f771 jc1 jvgenmain cc1obj; do \
  if [ -f $file ] ; then \
    rm -f /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/$file; \
    /X/install -c $file /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/$file; \
  else true; \
  fi; \
done
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
/X/install: Installation: command not found
/X/install: The: command not found
/X/install: 1: command not found
/X/install: Abstract: command not found
/X/install: How: command not found
/X/install: 1.: command not found
/X/install: This: command not found
/X/install: provided: command not found
/X/install: The: command not found
/X/install: when: command not found
/X/install: that: command not found
/X/install: browsers: command not found
/X/install: name,: command not found
/X/install: Xinstall.sh.: command not found
/X/install: o: command not found
/X/install: line 58: syntax error near unexpected token `While'
/X/install: line 58: `     function correctly.  While most systems will have these, some Linux'
make: *** [install-common] Error 2
[root@DW2 gcc]#


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: final install problems
  2001-10-30 21:13 final install problems David
@ 2001-10-30 23:21 ` Zack Weinberg
  0 siblings, 0 replies; 2+ messages in thread
From: Zack Weinberg @ 2001-10-30 23:21 UTC (permalink / raw)
  To: David; +Cc: gcc

On Tue, Oct 30, 2001 at 11:07:37PM -0600, David wrote:
> Upon a apparent successfull build of GCC-3.0.2 I attempt to go to the objdir
> which happens to be '/usr/gcc' on this machine and attempt 'make install' upon
> this is the output:  The rest of this will be all output from the command
> issued.  Again the actaul 'make bootstrap' appeared to go smoothly with only a
> few small errors like unexpected tokens, but the install exited just as any

"unexpected tokens"?  That might be harmless and then again it might
be very bad.  Please post an example of these error messages.

...
>    /X/install -c c++filt /usr/local/bin/`t='s,x,x,'; echo c++filt | sed $t`
...

> /X/install: Installation: command not found
> /X/install: The: command not found
> /X/install: 1: command not found
...

You have a program on your system named /X/install.  It was found by
the configure script; presumably /X is in your PATH.  However,
/X/install does not do what GCC's installation procedure expects it
to.  In fact, the error messages make me think that it is not a
program at all, but a piece of documentation, which the system is
trying to execute as if it were a shell script.  This is of course
doomed to failure.

/X is not a standard directory on any Unix-like system I am familar
with.  Therefore I have no idea what its contents are, but I strongly
suspect that it should not be included in your PATH.  Try taking it
out and rebuilding GCC from scratch.

zw

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-30 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-30 21:13 final install problems David
2001-10-30 23:21 ` Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).