public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
@ 1999-01-21  3:08 Steinar Bang
  1999-01-21  4:35 ` Steinar Bang
  1999-01-31 23:58 ` Steinar Bang
  0 siblings, 2 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-21  3:08 UTC (permalink / raw)
  To: egcs

Platform: linux S.u.S.E. 5.3

I don't get it!  Two weeks ago I successfully installed egcs-1.1.1 on
this very same machine, using
	./configure --prefix=~/apps --enable-shared

That installation had problems linking some (not all) shared libs, so
I wanted to install egcs without the --enable-shared configuration
option, ie. configured with
	./configure --prefix=~/apps

However this time I was unsuccessful in getting a working installation.
I'm getting messages like this:
	g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
	g++: installation problem, cannot exec `cc1plus': No such file or directory
	mmlAst.cpp:28: iostream: No such file or directory
	cpp: output pipe has been closed

I've tried installing it thrice:
 - first compiling it anew and attempting to install it over the
   --enable-shared egcs-1.1.1 installation
 - then I cleared away most of the installed files, and did a new make 
   install
 - then I cleared away most of the installed files, removed the
   source, did a new configure and a new install

And I still have the problem.  As far as I can see, cc1plus is
installed in 
	~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/
which seems like a reasonable place for it.

The only problems I can find in the "make install" log, is related to
libiberty.a (what's "libiberty.a.n"...?  Ie. why the ".n"...?) and
libg2c.a.

Sigh!  I'll keep digging, but all hints and tips are appeciated!


- Steinar

cd ~/src/install/egcs-1.1.1/
make -k install
/bin/sh ./mkinstalldirs ~/apps ~/apps
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/gcc'
if [ -f libgcc2.ready ] ; then \
	true; \
else \
	touch libgcc2.ready; \
fi
if [ -d ~/apps ] ; then true ; else mkdir ~/apps ; chmod a+rx ~/apps ; fi
if [ -d ~/apps ] ; then true ; else mkdir ~/apps ; chmod a+rx ~/apps ; fi
if [ -d ~/apps/lib ] ; then true ; else mkdir ~/apps/lib ; chmod a+rx ~/apps/lib ; fi
if [ -d ~/apps/lib/gcc-lib ] ; then true ; else mkdir ~/apps/lib/gcc-lib ; chmod a+rx ~/apps/lib/gcc-lib ; fi
fdir= ; for dir in `echo ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60 | tr '/' ' '`; do \
  fdir=${fdir}/${dir}; \
  if [ -d ${fdir} ] ; then true ; else mkdir ${fdir}; chmod a+rx ${fdir}; fi ; \
done
if [ -d ~/apps/bin ] ; then true ; else mkdir ~/apps/bin ; chmod a+rx ~/apps/bin ; fi
if [ -d /usr/local/include ] ; then true ; else mkdir /usr/local/include ; chmod a+rx /usr/local/include ; fi
if [ -d ~/apps/i686-pc-linux-gnulibc1 ] ; then true ; else mkdir ~/apps/i686-pc-linux-gnulibc1 ; chmod a+rx ~/apps/i686-pc-linux-gnulibc1 ; fi
if [ -d ~/apps/i686-pc-linux-gnulibc1/include ] ; then true ; else mkdir ~/apps/i686-pc-linux-gnulibc1/include ; chmod a+rx ~/apps/i686-pc-linux-gnulibc1/include ; fi
if [ -d ~/apps/info ] ; then true ; else mkdir ~/apps/info ; chmod a+rx ~/apps/info ; fi
parent=`echo ~/apps/man/man1|sed -e 's@/[^/]*$@@'`; \
if [ -d $parent ] ; then true ; else mkdir $parent ; chmod a+rx $parent ; fi
if [ -d ~/apps/man/man1 ] ; then true ; else mkdir ~/apps/man/man1 ; chmod a+rx ~/apps/man/man1 ; fi
if [ -f cc1plus ] ; then \
  if [ -f g++-cross ] ; then \
    rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g++-cross ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`; \
    rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++ | sed $t`; \
    ln ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t` ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++ | sed $t`; \
  else \
    rm -f ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g++ ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    rm -f ~/apps/bin/`t='s,x,x,'; echo c++ | sed $t`; \
    ln ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t` ~/apps/bin/`t='s,x,x,'; echo c++ | sed $t`; \
  fi ; \
  if [ xc++filt != x ] && [ -x "c++filt" ]; then \
    if [ -f g++-cross ] ; then \
      rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++filt | sed $t`; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  c++filt ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++filt | sed $t`; \
      chmod a+x ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++filt | sed $t`; \
    else \
      rm -f ~/apps/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  c++filt ~/apps/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
      chmod a+x ~/apps/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
    fi ; \
  fi ; \
fi
case "c proto gcov  c++ f77 objc" in \
  *[fF]77*) touch lang-f77;; \
  *) rm -f lang-f77;; \
esac
if [ -f lang-f77 -a -f f771 ] ; then \
  if [ -f g77-cross ] ; then \
    rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g77-cross ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`; \
  else \
    rm -f ~/apps/bin/`t='s,x,x,'; echo g77 | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g77 ~/apps/bin/`t='s,x,x,'; echo g77 | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,x,x,'; echo g77 | sed $t`; \
  fi ; \
else true; fi
for file in cc1  cc1plus f771 cc1obj; do \
  if [ -f $file ] ; then \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  $file ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
  else true; \
  fi; \
done
for file in   collect2 ..; do \
  if [ x"$file" != x.. ]; then \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  $file ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
  else true; fi; \
done
for file in crtbegin.o crtbeginS.o crtend.o crtendS.o ..; do \
  if [ x"$file" != x.. ]; then \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $file ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
  else true; fi; \
done
if [ -f specs ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/specs; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 specs ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/specs; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/specs; \
fi
if [ -f protoize ]; \
then \
    if [ -f gcc-cross ] ; then \
	rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo protoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  protoize ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo protoize | sed -e $t`; \
	rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo unprotoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  unprotoize ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo unprotoize | sed -e $t`; \
    else \
	rm -f ~/apps/bin/`t='s,x,x,'; echo protoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  protoize ~/apps/bin/`t='s,x,x,'; echo protoize | sed -e $t`; \
	rm -f ~/apps/bin/`t='s,x,x,'; echo unprotoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  unprotoize ~/apps/bin/`t='s,x,x,'; echo unprotoize | sed -e $t`; \
    fi ; \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/SYSCALLS.c.X; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 SYSCALLS.c.X ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/SYSCALLS.c.X; \
    chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/SYSCALLS.c.X; \
fi
rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/cpp
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  cpp ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/cpp
if [ -f gcov ]; \
then \
    rm -f ~/apps/bin/gcov; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  gcov ~/apps/bin/gcov; \
    chmod a+x ~/apps/bin/gcov; \
fi
rm -rf ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include
mkdir ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include
chmod a+rx ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include
(cd include; \
 tar -cf - .; exit 0) | (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include; tar xpBf - )
/bin/sh: cd: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include: No such file or directory
files=`cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include; find . -type l -print 2>/dev/null`; \
if [ $? -eq 0 ]; then \
  dir=`cd include; pwd`; \
  for i in $files; do \
    dest=`ls -ld ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/$i | sed -n 's/.*-> //p'`; \
    if expr "$dest" : "$dir.*" > /dev/null; then \
      rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/$i; \
      ln -s `echo $i | sed "s|/[^/]*|/..|g" | sed 's|/..$||'``echo "$dest" | sed "s|$dir||"` ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/$i; \
    fi; \
  done; \
fi
/bin/sh: cd: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage1: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage2: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage3: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage4: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage1: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage2: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage3: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage4: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage1: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage2: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage3: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage4: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./g++.c: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cxxmain.c: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./g77.c: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./stage2/f/g77.c: No such file or directory
if [ -f libgcc.a ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libgcc.a; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libgcc.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libgcc.a; \
  if [ -f ranlib ] || ( [ "i686-pc-linux-gnulibc1" = "i686-pc-linux-gnulibc1" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
    (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; ranlib libgcc.a); else true; fi; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libgcc.a; \
else true; fi
if [ -f cc1plus ] ; then \
  if [ -f g++-cross ] ; then \
    rm -f ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./cp/g++.1 ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`.1; \
  else \
    rm -f ~/apps/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./cp/g++.1 ~/apps/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
  fi; \
else true; fi
case "c proto gcov  c++ f77 objc" in \
  *[fF]77*) touch lang-f77;; \
  *) rm -f lang-f77;; \
esac
if [ -f lang-f77 -a -f f771 ] ; then \
  if [ -f g77-cross ] ; then \
    rm -f ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./f/g77.1 ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`.1; \
  else \
    rm -f ~/apps/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./f/g77.1 ~/apps/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
  fi; \
else true; fi
if [ -f gcc-cross ] ; then \
  rm -f ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`.1; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./gcc.1 ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`.1; \
  chmod a-x ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`.1; \
else \
  rm -f ~/apps/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./gcc.1 ~/apps/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
  chmod a-x ~/apps/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
fi
rm -f ~/apps/man/man1/cccp.1
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./cccp.1 ~/apps/man/man1/cccp.1
chmod a-x ~/apps/man/man1/cccp.1
case "c proto gcov  c++ f77 objc" in \
  *[fF]77*) touch lang-f77;; \
  *) rm -f lang-f77;; \
esac
if [ -f lang-f77 -a -f f/g77.info ] ; then \
  rm -f ~/apps/info/g77.info*; \
  for f in f/g77.info*; do \
      realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $f ~/apps/info/$realfile; \
  done; \
  chmod a-x ~/apps/info/g77.info*; \
fi
 install-info --info-dir=~/apps/info ~/apps/info/g77.info
~/apps/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
rm -f ~/apps/info/cpp.info* ~/apps/info/gcc.info*
for f in cpp.info* gcc.info*; do \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $f ~/apps/info/$f; \
done
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f ~/apps/info/dir ] ; then \
    for f in cpp.info gcc.info; do \
	install-info --dir-file=~/apps/info/dir ~/apps/info/$f; \
    done; \
  else true; fi; \
else true; fi;
~/apps/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
~/apps/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
make[1]: [install-info] Error 1 (ignored)
chmod a-x ~/apps/info/cpp.info* ~/apps/info/gcc.info*
if [ -f libobjc.a ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc.a; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libobjc.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc.a; \
  if [ -f ranlib ] || ( [ "i686-pc-linux-gnulibc1" = "i686-pc-linux-gnulibc1" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
    (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; ranlib libobjc.a); else true; fi; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc.a; \
else true; fi
if [ -f libobjc_s.a ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc_s.a; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libobjc_s.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc_s.a; \
  if [ -f ranlib ] || ( [ "i686-pc-linux-gnulibc1" = "i686-pc-linux-gnulibc1" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
    (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; ranlib libobjc_s.a); else true; fi; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc_s.a; \
else true; fi
if [ -f libobjc.dll ] ; then \
  rm -f ~/apps/bin/libobjc.dll; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libobjc.dll ~/apps/bin/libobjc.dll; \
else true; fi
if [ -f gcc-cross ] ; then \
  rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  gcc-cross ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`; \
  if [ -d ~/apps/i686-pc-linux-gnulibc1/bin/. ] ; then \
    rm -f ~/apps/i686-pc-linux-gnulibc1/bin/gcc; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  gcc-cross ~/apps/i686-pc-linux-gnulibc1/bin/gcc; \
  else true; fi; \
else \
  rm -f ~/apps/bin/`t='s,x,x,'; echo gcc | sed -e $t`; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  xgcc ~/apps/bin/`t='s,x,x,'; echo gcc | sed -e $t`; \
  rm -f ~/apps/bin/i686-pc-linux-gnulibc1-gcc-1; \
  ln ~/apps/bin/`t='s,x,x,'; echo gcc | sed -e $t` ~/apps/bin/i686-pc-linux-gnulibc1-gcc-1; \
  mv ~/apps/bin/i686-pc-linux-gnulibc1-gcc-1 ~/apps/bin/i686-pc-linux-gnulibc1-gcc; \
fi
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/gcc'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/etc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/etc'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/libiberty'
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libiberty.a ~/apps/lib/libiberty.a.n
( cd ~/apps/lib ; ranlib libiberty.a.n )
ranlib: libiberty.a.n: No such file or directory
make[1]: *** [install_to_libdir] Error 9
make[1]: Target `install' not remade because of errors.
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/libiberty'
make: *** [install-libiberty] Error 2
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
  if [ "_G_config.h" != "" ]; then \
    if [ xno = xyes ]; then \
      rm -f ~/apps/include/g++/_G_config.h ; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 _G_config.h ~/apps/include/g++/_G_config.h || exit 1; \
    else \
      rm -f ~/apps/i686-pc-linux-gnulibc1/include/_G_config.h ; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 _G_config.h ~/apps/i686-pc-linux-gnulibc1/include/_G_config.h || exit 1; \
    fi; \
  else true; \
  fi ; \
  cd .; \
  for FILE in PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h indstream.h iomanip.h iostream.h istream.h ostream.h parsestream.h pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h strstream.h libio.h; do if [ $FILE != _G_config.h ]; then \
    rm -f ~/apps/include/g++/$FILE ; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  else true; fi; done ; \
else true; \
fi
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "SHELL=/bin/sh" "INSTALL=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c " "prefix=~/apps" "exec_prefix=~/apps" "tooldir=~/apps/i686-pc-linux-gnulibc1" "gxx_include_dir=~/apps/include/g++" "libsubdir=~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60" "gcc_version=egcs-2.91.60" "gcc_version_trigger=/home/sb/src/install/egcs-1.1.1/gcc/version.c" "AR=ar" "AR_FLAGS=rc" "CC=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CXX=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/sb/src/install/egcs-1.1.1/texinfo/makeinfo/makeinfo " "SHLIB=" "SHCURSES=" "RUNTESTFLAGS=" \
			CFLAGS="-g -O2 ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			install); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
  cd .; \
  for FILE in cassert cctype cerrno cfloat ciso646 climits clocale cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype string stdexcept algorithm deque functional hash_map hash_set iterator list map memory numeric pthread_alloc queue rope set slist stack utility vector fstream iomanip iostream strstream iosfwd; do \
    rm -f ~/apps/include/g++/$FILE ; \
    if [ -f stl/$FILE ]; then \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 stl/$FILE ~/apps/include/g++/$FILE ; \
    else \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    fi ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  done ; \
  for FILE in *.h std/*.*; do \
    rm -f ~/apps/include/g++/$FILE ; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  done ; \
  cd stl; \
  for FILE in *.h; do \
    rm -f ~/apps/include/g++/$FILE ; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  done ; \
else true ; \
fi
rootme=`pwd`/ ; export rootme ; \
if [ x~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60 = x ] || [ xno != xyes ]; then \
  INSTALLDIR=~/apps/lib; \
else \
  INSTALLDIR=~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; \
fi; \
rm -f ${INSTALLDIR}/libstdc++.so ; \
for FILE in libstdc++.a ; do \
  rm -f ${INSTALLDIR}/$FILE ; \
  if [ $FILE = libstdc++.so ] ; then \
    ln -f -s libstdc++.so.2.9.0 ${INSTALLDIR}/$FILE ; \
  elif [ $FILE = mshlink ]; then \
    for FILE in libstdc++.so.`echo 2.9.0 | sed 's/\([0-9][.][0-9]\).*/\1/'` ; do \
      rm -f ${INSTALLDIR}/$FILE ; \
      ln -f -s libstdc++.so.2.9.0 ${INSTALLDIR}/$FILE ; \
    done; \
  elif [ $FILE = libstdc++.so.2.9.0 ]; then \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  $FILE ${INSTALLDIR}/$FILE ; \
    : On the HP, shared libraries must be mode 555. ;\
    chmod 555 ${INSTALLDIR}/$FILE ; \
  else \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ${INSTALLDIR}/$FILE ; \
    ranlib ${INSTALLDIR}/$FILE ; \
    chmod a-x ${INSTALLDIR}/$FILE ; \
  fi ; \
done
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "SHELL=/bin/sh" "INSTALL=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c " "prefix=~/apps" "exec_prefix=~/apps" "tooldir=~/apps/i686-pc-linux-gnulibc1" "gxx_include_dir=~/apps/include/g++" "libsubdir=~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60" "gcc_version=egcs-2.91.60" "gcc_version_trigger=/home/sb/src/install/egcs-1.1.1/gcc/version.c" "AR=ar" "AR_FLAGS=rc" "CC=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CXX=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/sb/src/install/egcs-1.1.1/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.9.0" "SHCURSES=" "RUNTES!
!
TFLAGS=" \
			CFLAGS="-g -O2 ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			install); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
cd libI77; make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' all
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libI77'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libI77'
cd libF77; make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' all
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libF77'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libF77'
cd libU77; make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' all
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libU77'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libU77'
make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' libg2c.a
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
make[2]: `libg2c.a' is up to date.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libg2c.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libg2c.a.n
( cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60 ; ranlib libg2c.a.n )
ranlib: libg2c.a.n: No such file or directory
make[1]: *** [install] Error 9
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
make: *** [install-target-libf2c] Error 2
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=rc" "CC=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CFLAGS=-g -O2" "LIBCFLAGS=-g -O2" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c " "LDFLAGS=" "LOADLIBES=" "RANLIB=ranlib" "SHELL=/bin/sh" \
			CFLAGS="-g -O2 ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			all); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libiberty.a ~/apps/i686-pc-linux-gnulibc1/lib/libiberty.a.n
( cd ~/apps/i686-pc-linux-gnulibc1/lib ; ranlib libiberty.a.n )
ranlib: libiberty.a.n: No such file or directory
make[1]: *** [install_to_tooldir] Error 9
make[1]: Target `install' not remade because of errors.
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
make: *** [install-target-libiberty] Error 2
make: Target `install' not remade because of errors.

Compilation exited abnormally with code 2 at Thu Jan 21 11:55:40

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

* Re: unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  3:08 unsuccessful installation of egcs-1.1.1 (can't find cc1plus) Steinar Bang
@ 1999-01-21  4:35 ` Steinar Bang
  1999-01-21  4:51   ` Steinar Bang
  1999-01-31 23:58   ` Steinar Bang
  1999-01-31 23:58 ` Steinar Bang
  1 sibling, 2 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-21  4:35 UTC (permalink / raw)
  To: egcs

>>>>> Steinar Bang <sb@metis.no>:

> Platform: linux S.u.S.E. 5.3
> I don't get it!  Two weeks ago I successfully installed egcs-1.1.1 on
> this very same machine, using
> 	./configure --prefix=~/apps --enable-shared

> That installation had problems linking some (not all) shared libs, so
> I wanted to install egcs without the --enable-shared configuration
> option, ie. configured with
> 	./configure --prefix=~/apps

> However this time I was unsuccessful in getting a working installation.
> I'm getting messages like this:
> 	g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
> 	g++: installation problem, cannot exec `cc1plus': No such file or directory
> 	mmlAst.cpp:28: iostream: No such file or directory
> 	cpp: output pipe has been closed

This isn't the obvious one that I'm running the g++ installed by the
system, because the system's 2.7.2.1 installation doesn't *have* a g++ 
installed, and besides, "which g++" gives me the following answer:
	> which gcc
	/home/sb/apps/bin/gcc

Hm... I'm installing from the exact same tar.gz file I got a
successful installation from earlier.  It successfully does a 3 stage
bootstrap and it seems to install all the correct files in all the
expected places.

The most probable thing is that something has changed in my
installation... but what on earth could it be...?

I'm stumped!

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

* Re: unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  4:35 ` Steinar Bang
@ 1999-01-21  4:51   ` Steinar Bang
  1999-01-21  6:27     ` Steinar Bang
  1999-01-31 23:58     ` Steinar Bang
  1999-01-31 23:58   ` Steinar Bang
  1 sibling, 2 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-21  4:51 UTC (permalink / raw)
  To: egcs

>>>>> Steinar Bang <sb@metis.no>:

>>>>> Steinar Bang <sb@metis.no>:
>> Platform: linux S.u.S.E. 5.3
>> I don't get it!  Two weeks ago I successfully installed egcs-1.1.1 on
>> this very same machine, using
>> ./configure --prefix=~/apps --enable-shared

>> That installation had problems linking some (not all) shared libs, so
>> I wanted to install egcs without the --enable-shared configuration
>> option, ie. configured with
>> ./configure --prefix=~/apps

>> However this time I was unsuccessful in getting a working installation.
>> I'm getting messages like this:
>> g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
>> g++: installation problem, cannot exec `cc1plus': No such file or directory
>> mmlAst.cpp:28: iostream: No such file or directory
>> cpp: output pipe has been closed

> This isn't the obvious one that I'm running the g++ installed by the
> system, because the system's 2.7.2.1 installation doesn't *have* a g++ 
> installed, and besides, "which g++" gives me the following answer:
>> which gcc
> 	/home/sb/apps/bin/gcc

> Hm... I'm installing from the exact same tar.gz file I got a
> successful installation from earlier.  It successfully does a 3 stage
> bootstrap and it seems to install all the correct files in all the
> expected places.

> The most probable thing is that something has changed in my
> installation... but what on earth could it be...?

I tried setting COMPILER_PATH 
	export COMPILER_PATH=/home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/
and then the compilation got further... but now he can't find the
include files... hmph... (though it may look like there's something as 
simple as a path problem...)


> make
make -C mmlparser "RELEASE=0" "PROFILE=0"
make[1]: Entering directory `/home/sb/2x/src/mmlparser'
tmake mmlparser.pro -o GNUmakefile.debug \
    "DEFINES+=QT_FATAL_ASSERT" "CONFIG+=debug" "OBJECTS_DIR=.obj/debug"
MmlBaseP.cppmmlbase.cppmmlbaseLexer.cppmake -f GNUmakefile.debug
make[2]: Entering directory `/home/sb/2x/src/mmlparser'
g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
mmlAst.cpp:28: iostream: No such file or directory
/home/sb/2x/3rdparty/pccts/h/PCCTSAST.h: In method `class PCCTS_AST * PCCTS_AST::shallowCopy()':
In file included from /home/sb/2x/3rdparty/pccts/h/ASTBase.h:35,
                 from /home/sb/2x/3rdparty/pccts/h/Ast.h:46,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/PCCTSAST.h:109: warning: ANSI C++ forbids implicit conversion from `void *' in return
/home/sb/2x/3rdparty/pccts/h/ASTBase.h: In method `ASTBase::ASTBase()':
In file included from /home/sb/2x/3rdparty/pccts/h/Ast.h:46,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/ASTBase.h:56: warning: ANSI C++ forbids implicit conversion from `void *' in assignment
/home/sb/2x/3rdparty/pccts/h/AToken.h: In method `class ANTLRAbstractToken * ANTLRRefCountToken::makeToken(enum ANTLRTokenType, ANTLRChar *, int)':
In file included from /home/sb/2x/3rdparty/pccts/h/Ast.h:47,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/AToken.h:147: warning: ANSI C++ forbids implicit conversion from `void *' in return
/home/sb/2x/3rdparty/pccts/h/ATokPtr.h: At top level:
In file included from /home/sb/2x/3rdparty/pccts/h/Ast.h:48,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/ATokPtr.h:41: warning: invalid type `void *' for default argument to `ANTLRAbstractToken *'
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST(class ANTLRTokenPtr)':
In file included from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/Ast.h:55: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST(class AST *)':
/home/sb/2x/3rdparty/pccts/h/Ast.h:56: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST(enum ANTLRTokenType)':
/home/sb/2x/3rdparty/pccts/h/Ast.h:57: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST()':
/home/sb/2x/3rdparty/pccts/h/Ast.h:58: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `char * AST::symbol()':
/home/sb/2x/3rdparty/pccts/h/Ast.h:62: no match for `ANTLRTokenPtr & != void *'
/home/sb/2x/3rdparty/pccts/h/ATokPtr.h:50: candidates are: ANTLRTokenPtr::operator !=(const ANTLRTokenPtr &)
mmlAst.cpp: At top level:
mmlAst.cpp:40: syntax error before `&'
mmlAst.cpp:44: warning: ANSI C++ forbids declaration `a' with no type
mmlAst.cpp:44: `ac' was not declared in this scope
mmlAst.cpp:45: parse error before `if'
mmlAst.cpp:49: parse error before `;'
mmlAst.cpp:49: syntax error before `++'
mmlAst.cpp:50: base operand of `->' is not a pointer
mmlAst.cpp:51: `first_word' was not declared in this scope
mmlAst.cpp:51: base operand of `->' is not a pointer
mmlAst.cpp:51: warning: ANSI C++ forbids declaration `strncpy' with no type
mmlAst.cpp:51: `int strncpy' redeclared as different kind of symbol
/usr/include/string.h:75: previous declaration of `char * strncpy(char *, const char *, size_t)'
mmlAst.cpp:51: warning: initializer list being treated as compound expression
mmlAst.cpp:52: syntax error before `<'
mmlAst.cpp: In method `void AST::preorder_before_action()':
mmlAst.cpp:65: `cout' undeclared (first use this function)
mmlAst.cpp:65: (Each undeclared identifier is reported only once
mmlAst.cpp:65: for each function it appears in.)
mmlAst.cpp: In method `void AST::preorder_action()':
mmlAst.cpp:71: confused by earlier errors, bailing out
make[2]: *** [.obj/debug/mmlAst.o] Error 1
make[2]: Leaving directory `/home/sb/2x/src/mmlparser'
make[1]: *** [debug] Error 2
make[1]: Leaving directory `/home/sb/2x/src/mmlparser'
make: *** [mmlparser] Error 2

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

* Re: unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  4:51   ` Steinar Bang
@ 1999-01-21  6:27     ` Steinar Bang
  1999-01-31 23:58       ` Steinar Bang
  1999-01-31 23:58     ` Steinar Bang
  1 sibling, 1 reply; 8+ messages in thread
From: Steinar Bang @ 1999-01-21  6:27 UTC (permalink / raw)
  To: egcs

>>>>> Steinar Bang <sb@metis.no>:

>>>>> Steinar Bang <sb@metis.no>:
>>>>> Steinar Bang <sb@metis.no>:

[snip!]
>>> That installation had problems linking some (not all) shared libs, so
>>> I wanted to install egcs without the --enable-shared configuration
>>> option, ie. configured with
>>>	./configure --prefix=~/apps

[snip!]
> I tried setting COMPILER_PATH 
> 	export COMPILER_PATH=/home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/
> and then the compilation got further... but now he can't find the
> include files... hmph... (though it may look like there's something as 
> simple as a path problem...)

Yes it was... mystery solved.  The shell hadn't expanded ~/apps into
/home/sb/apps, so it was ~/apps in the Makefile and all the way into
the g++ binary.

I tried to do a partial fix, but I ended but removing the egcs-1.1.1
directory, unpacking it, and doing a new "make bootstrap".

That worked.

Now let's see if removing --enable-shared got rid of the multiple
definition problem I had when building shared libs.

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

* Re: unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  6:27     ` Steinar Bang
@ 1999-01-31 23:58       ` Steinar Bang
  0 siblings, 0 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-31 23:58 UTC (permalink / raw)
  To: egcs

>>>>> Steinar Bang <sb@metis.no>:

>>>>> Steinar Bang <sb@metis.no>:
>>>>> Steinar Bang <sb@metis.no>:

[snip!]
>>> That installation had problems linking some (not all) shared libs, so
>>> I wanted to install egcs without the --enable-shared configuration
>>> option, ie. configured with
>>>	./configure --prefix=~/apps

[snip!]
> I tried setting COMPILER_PATH 
> 	export COMPILER_PATH=/home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/
> and then the compilation got further... but now he can't find the
> include files... hmph... (though it may look like there's something as 
> simple as a path problem...)

Yes it was... mystery solved.  The shell hadn't expanded ~/apps into
/home/sb/apps, so it was ~/apps in the Makefile and all the way into
the g++ binary.

I tried to do a partial fix, but I ended but removing the egcs-1.1.1
directory, unpacking it, and doing a new "make bootstrap".

That worked.

Now let's see if removing --enable-shared got rid of the multiple
definition problem I had when building shared libs.

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

* unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  3:08 unsuccessful installation of egcs-1.1.1 (can't find cc1plus) Steinar Bang
  1999-01-21  4:35 ` Steinar Bang
@ 1999-01-31 23:58 ` Steinar Bang
  1 sibling, 0 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-31 23:58 UTC (permalink / raw)
  To: egcs

Platform: linux S.u.S.E. 5.3

I don't get it!  Two weeks ago I successfully installed egcs-1.1.1 on
this very same machine, using
	./configure --prefix=~/apps --enable-shared

That installation had problems linking some (not all) shared libs, so
I wanted to install egcs without the --enable-shared configuration
option, ie. configured with
	./configure --prefix=~/apps

However this time I was unsuccessful in getting a working installation.
I'm getting messages like this:
	g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
	g++: installation problem, cannot exec `cc1plus': No such file or directory
	mmlAst.cpp:28: iostream: No such file or directory
	cpp: output pipe has been closed

I've tried installing it thrice:
 - first compiling it anew and attempting to install it over the
   --enable-shared egcs-1.1.1 installation
 - then I cleared away most of the installed files, and did a new make 
   install
 - then I cleared away most of the installed files, removed the
   source, did a new configure and a new install

And I still have the problem.  As far as I can see, cc1plus is
installed in 
	~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/
which seems like a reasonable place for it.

The only problems I can find in the "make install" log, is related to
libiberty.a (what's "libiberty.a.n"...?  Ie. why the ".n"...?) and
libg2c.a.

Sigh!  I'll keep digging, but all hints and tips are appeciated!


- Steinar

cd ~/src/install/egcs-1.1.1/
make -k install
/bin/sh ./mkinstalldirs ~/apps ~/apps
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/gcc'
if [ -f libgcc2.ready ] ; then \
	true; \
else \
	touch libgcc2.ready; \
fi
if [ -d ~/apps ] ; then true ; else mkdir ~/apps ; chmod a+rx ~/apps ; fi
if [ -d ~/apps ] ; then true ; else mkdir ~/apps ; chmod a+rx ~/apps ; fi
if [ -d ~/apps/lib ] ; then true ; else mkdir ~/apps/lib ; chmod a+rx ~/apps/lib ; fi
if [ -d ~/apps/lib/gcc-lib ] ; then true ; else mkdir ~/apps/lib/gcc-lib ; chmod a+rx ~/apps/lib/gcc-lib ; fi
fdir= ; for dir in `echo ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60 | tr '/' ' '`; do \
  fdir=${fdir}/${dir}; \
  if [ -d ${fdir} ] ; then true ; else mkdir ${fdir}; chmod a+rx ${fdir}; fi ; \
done
if [ -d ~/apps/bin ] ; then true ; else mkdir ~/apps/bin ; chmod a+rx ~/apps/bin ; fi
if [ -d /usr/local/include ] ; then true ; else mkdir /usr/local/include ; chmod a+rx /usr/local/include ; fi
if [ -d ~/apps/i686-pc-linux-gnulibc1 ] ; then true ; else mkdir ~/apps/i686-pc-linux-gnulibc1 ; chmod a+rx ~/apps/i686-pc-linux-gnulibc1 ; fi
if [ -d ~/apps/i686-pc-linux-gnulibc1/include ] ; then true ; else mkdir ~/apps/i686-pc-linux-gnulibc1/include ; chmod a+rx ~/apps/i686-pc-linux-gnulibc1/include ; fi
if [ -d ~/apps/info ] ; then true ; else mkdir ~/apps/info ; chmod a+rx ~/apps/info ; fi
parent=`echo ~/apps/man/man1|sed -e 's@/[^/]*$@@'`; \
if [ -d $parent ] ; then true ; else mkdir $parent ; chmod a+rx $parent ; fi
if [ -d ~/apps/man/man1 ] ; then true ; else mkdir ~/apps/man/man1 ; chmod a+rx ~/apps/man/man1 ; fi
if [ -f cc1plus ] ; then \
  if [ -f g++-cross ] ; then \
    rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g++-cross ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`; \
    rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++ | sed $t`; \
    ln ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t` ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++ | sed $t`; \
  else \
    rm -f ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g++ ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t`; \
    rm -f ~/apps/bin/`t='s,x,x,'; echo c++ | sed $t`; \
    ln ~/apps/bin/`t='s,x,x,'; echo g++ | sed $t` ~/apps/bin/`t='s,x,x,'; echo c++ | sed $t`; \
  fi ; \
  if [ xc++filt != x ] && [ -x "c++filt" ]; then \
    if [ -f g++-cross ] ; then \
      rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++filt | sed $t`; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  c++filt ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++filt | sed $t`; \
      chmod a+x ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo c++filt | sed $t`; \
    else \
      rm -f ~/apps/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  c++filt ~/apps/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
      chmod a+x ~/apps/bin/`t='s,x,x,'; echo c++filt | sed $t`; \
    fi ; \
  fi ; \
fi
case "c proto gcov  c++ f77 objc" in \
  *[fF]77*) touch lang-f77;; \
  *) rm -f lang-f77;; \
esac
if [ -f lang-f77 -a -f f771 ] ; then \
  if [ -f g77-cross ] ; then \
    rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g77-cross ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`; \
  else \
    rm -f ~/apps/bin/`t='s,x,x,'; echo g77 | sed $t`; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  g77 ~/apps/bin/`t='s,x,x,'; echo g77 | sed $t`; \
    chmod a+x ~/apps/bin/`t='s,x,x,'; echo g77 | sed $t`; \
  fi ; \
else true; fi
for file in cc1  cc1plus f771 cc1obj; do \
  if [ -f $file ] ; then \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  $file ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
  else true; \
  fi; \
done
for file in   collect2 ..; do \
  if [ x"$file" != x.. ]; then \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  $file ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
  else true; fi; \
done
for file in crtbegin.o crtbeginS.o crtend.o crtendS.o ..; do \
  if [ x"$file" != x.. ]; then \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $file ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
    chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/$file; \
  else true; fi; \
done
if [ -f specs ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/specs; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 specs ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/specs; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/specs; \
fi
if [ -f protoize ]; \
then \
    if [ -f gcc-cross ] ; then \
	rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo protoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  protoize ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo protoize | sed -e $t`; \
	rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo unprotoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  unprotoize ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo unprotoize | sed -e $t`; \
    else \
	rm -f ~/apps/bin/`t='s,x,x,'; echo protoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  protoize ~/apps/bin/`t='s,x,x,'; echo protoize | sed -e $t`; \
	rm -f ~/apps/bin/`t='s,x,x,'; echo unprotoize | sed -e $t`; \
	/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  unprotoize ~/apps/bin/`t='s,x,x,'; echo unprotoize | sed -e $t`; \
    fi ; \
    rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/SYSCALLS.c.X; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 SYSCALLS.c.X ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/SYSCALLS.c.X; \
    chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/SYSCALLS.c.X; \
fi
rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/cpp
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  cpp ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/cpp
if [ -f gcov ]; \
then \
    rm -f ~/apps/bin/gcov; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  gcov ~/apps/bin/gcov; \
    chmod a+x ~/apps/bin/gcov; \
fi
rm -rf ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include
mkdir ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include
chmod a+rx ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include
(cd include; \
 tar -cf - .; exit 0) | (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include; tar xpBf - )
/bin/sh: cd: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include: No such file or directory
files=`cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include; find . -type l -print 2>/dev/null`; \
if [ $? -eq 0 ]; then \
  dir=`cd include; pwd`; \
  for i in $files; do \
    dest=`ls -ld ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/$i | sed -n 's/.*-> //p'`; \
    if expr "$dest" : "$dir.*" > /dev/null; then \
      rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/$i; \
      ln -s `echo $i | sed "s|/[^/]*|/..|g" | sed 's|/..$||'``echo "$dest" | sed "s|$dir||"` ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/$i; \
    fi; \
  done; \
fi
/bin/sh: cd: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage1: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage2: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage3: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/stage4: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cp/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage1: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage2: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage3: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/stage4: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./f/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage1: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage2: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage3: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/stage4: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./objc/include: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./g++.c: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./cxxmain.c: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./g77.c: No such file or directory
ls: /home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/include/./stage2/f/g77.c: No such file or directory
if [ -f libgcc.a ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libgcc.a; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libgcc.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libgcc.a; \
  if [ -f ranlib ] || ( [ "i686-pc-linux-gnulibc1" = "i686-pc-linux-gnulibc1" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
    (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; ranlib libgcc.a); else true; fi; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libgcc.a; \
else true; fi
if [ -f cc1plus ] ; then \
  if [ -f g++-cross ] ; then \
    rm -f ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./cp/g++.1 ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g++ | sed $t`.1; \
  else \
    rm -f ~/apps/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./cp/g++.1 ~/apps/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
  fi; \
else true; fi
case "c proto gcov  c++ f77 objc" in \
  *[fF]77*) touch lang-f77;; \
  *) rm -f lang-f77;; \
esac
if [ -f lang-f77 -a -f f771 ] ; then \
  if [ -f g77-cross ] ; then \
    rm -f ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./f/g77.1 ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo g77 | sed $t`.1; \
  else \
    rm -f ~/apps/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./f/g77.1 ~/apps/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
    chmod a-x ~/apps/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
  fi; \
else true; fi
if [ -f gcc-cross ] ; then \
  rm -f ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`.1; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./gcc.1 ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`.1; \
  chmod a-x ~/apps/man/man1/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`.1; \
else \
  rm -f ~/apps/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./gcc.1 ~/apps/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
  chmod a-x ~/apps/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
fi
rm -f ~/apps/man/man1/cccp.1
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 ./cccp.1 ~/apps/man/man1/cccp.1
chmod a-x ~/apps/man/man1/cccp.1
case "c proto gcov  c++ f77 objc" in \
  *[fF]77*) touch lang-f77;; \
  *) rm -f lang-f77;; \
esac
if [ -f lang-f77 -a -f f/g77.info ] ; then \
  rm -f ~/apps/info/g77.info*; \
  for f in f/g77.info*; do \
      realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $f ~/apps/info/$realfile; \
  done; \
  chmod a-x ~/apps/info/g77.info*; \
fi
 install-info --info-dir=~/apps/info ~/apps/info/g77.info
~/apps/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
rm -f ~/apps/info/cpp.info* ~/apps/info/gcc.info*
for f in cpp.info* gcc.info*; do \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $f ~/apps/info/$f; \
done
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f ~/apps/info/dir ] ; then \
    for f in cpp.info gcc.info; do \
	install-info --dir-file=~/apps/info/dir ~/apps/info/$f; \
    done; \
  else true; fi; \
else true; fi;
~/apps/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
~/apps/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
make[1]: [install-info] Error 1 (ignored)
chmod a-x ~/apps/info/cpp.info* ~/apps/info/gcc.info*
if [ -f libobjc.a ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc.a; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libobjc.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc.a; \
  if [ -f ranlib ] || ( [ "i686-pc-linux-gnulibc1" = "i686-pc-linux-gnulibc1" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
    (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; ranlib libobjc.a); else true; fi; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc.a; \
else true; fi
if [ -f libobjc_s.a ] ; then \
  rm -f ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc_s.a; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libobjc_s.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc_s.a; \
  if [ -f ranlib ] || ( [ "i686-pc-linux-gnulibc1" = "i686-pc-linux-gnulibc1" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ) ; then \
    (cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; ranlib libobjc_s.a); else true; fi; \
  chmod a-x ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libobjc_s.a; \
else true; fi
if [ -f libobjc.dll ] ; then \
  rm -f ~/apps/bin/libobjc.dll; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libobjc.dll ~/apps/bin/libobjc.dll; \
else true; fi
if [ -f gcc-cross ] ; then \
  rm -f ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  gcc-cross ~/apps/bin/`t='s,^,i686-pc-linux-gnulibc1-,'; echo gcc | sed -e $t`; \
  if [ -d ~/apps/i686-pc-linux-gnulibc1/bin/. ] ; then \
    rm -f ~/apps/i686-pc-linux-gnulibc1/bin/gcc; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  gcc-cross ~/apps/i686-pc-linux-gnulibc1/bin/gcc; \
  else true; fi; \
else \
  rm -f ~/apps/bin/`t='s,x,x,'; echo gcc | sed -e $t`; \
  /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  xgcc ~/apps/bin/`t='s,x,x,'; echo gcc | sed -e $t`; \
  rm -f ~/apps/bin/i686-pc-linux-gnulibc1-gcc-1; \
  ln ~/apps/bin/`t='s,x,x,'; echo gcc | sed -e $t` ~/apps/bin/i686-pc-linux-gnulibc1-gcc-1; \
  mv ~/apps/bin/i686-pc-linux-gnulibc1-gcc-1 ~/apps/bin/i686-pc-linux-gnulibc1-gcc; \
fi
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/gcc'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/etc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/etc'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/libiberty'
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libiberty.a ~/apps/lib/libiberty.a.n
( cd ~/apps/lib ; ranlib libiberty.a.n )
ranlib: libiberty.a.n: No such file or directory
make[1]: *** [install_to_libdir] Error 9
make[1]: Target `install' not remade because of errors.
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/libiberty'
make: *** [install-libiberty] Error 2
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
  if [ "_G_config.h" != "" ]; then \
    if [ xno = xyes ]; then \
      rm -f ~/apps/include/g++/_G_config.h ; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 _G_config.h ~/apps/include/g++/_G_config.h || exit 1; \
    else \
      rm -f ~/apps/i686-pc-linux-gnulibc1/include/_G_config.h ; \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 _G_config.h ~/apps/i686-pc-linux-gnulibc1/include/_G_config.h || exit 1; \
    fi; \
  else true; \
  fi ; \
  cd .; \
  for FILE in PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h indstream.h iomanip.h iostream.h istream.h ostream.h parsestream.h pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h strstream.h libio.h; do if [ $FILE != _G_config.h ]; then \
    rm -f ~/apps/include/g++/$FILE ; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  else true; fi; done ; \
else true; \
fi
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "SHELL=/bin/sh" "INSTALL=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c " "prefix=~/apps" "exec_prefix=~/apps" "tooldir=~/apps/i686-pc-linux-gnulibc1" "gxx_include_dir=~/apps/include/g++" "libsubdir=~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60" "gcc_version=egcs-2.91.60" "gcc_version_trigger=/home/sb/src/install/egcs-1.1.1/gcc/version.c" "AR=ar" "AR_FLAGS=rc" "CC=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CXX=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/sb/src/install/egcs-1.1.1/texinfo/makeinfo/makeinfo " "SHLIB=" "SHCURSES=" "RUNTESTFLAGS=" \
			CFLAGS="-g -O2 ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			install); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libio'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
  cd .; \
  for FILE in cassert cctype cerrno cfloat ciso646 climits clocale cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype string stdexcept algorithm deque functional hash_map hash_set iterator list map memory numeric pthread_alloc queue rope set slist stack utility vector fstream iomanip iostream strstream iosfwd; do \
    rm -f ~/apps/include/g++/$FILE ; \
    if [ -f stl/$FILE ]; then \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 stl/$FILE ~/apps/include/g++/$FILE ; \
    else \
      /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    fi ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  done ; \
  for FILE in *.h std/*.*; do \
    rm -f ~/apps/include/g++/$FILE ; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  done ; \
  cd stl; \
  for FILE in *.h; do \
    rm -f ~/apps/include/g++/$FILE ; \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ~/apps/include/g++/$FILE ; \
    chmod a-x ~/apps/include/g++/$FILE ; \
  done ; \
else true ; \
fi
rootme=`pwd`/ ; export rootme ; \
if [ x~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60 = x ] || [ xno != xyes ]; then \
  INSTALLDIR=~/apps/lib; \
else \
  INSTALLDIR=~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60; \
fi; \
rm -f ${INSTALLDIR}/libstdc++.so ; \
for FILE in libstdc++.a ; do \
  rm -f ${INSTALLDIR}/$FILE ; \
  if [ $FILE = libstdc++.so ] ; then \
    ln -f -s libstdc++.so.2.9.0 ${INSTALLDIR}/$FILE ; \
  elif [ $FILE = mshlink ]; then \
    for FILE in libstdc++.so.`echo 2.9.0 | sed 's/\([0-9][.][0-9]\).*/\1/'` ; do \
      rm -f ${INSTALLDIR}/$FILE ; \
      ln -f -s libstdc++.so.2.9.0 ${INSTALLDIR}/$FILE ; \
    done; \
  elif [ $FILE = libstdc++.so.2.9.0 ]; then \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c  $FILE ${INSTALLDIR}/$FILE ; \
    : On the HP, shared libraries must be mode 555. ;\
    chmod 555 ${INSTALLDIR}/$FILE ; \
  else \
    /bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 $FILE ${INSTALLDIR}/$FILE ; \
    ranlib ${INSTALLDIR}/$FILE ; \
    chmod a-x ${INSTALLDIR}/$FILE ; \
  fi ; \
done
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "SHELL=/bin/sh" "INSTALL=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c " "prefix=~/apps" "exec_prefix=~/apps" "tooldir=~/apps/i686-pc-linux-gnulibc1" "gxx_include_dir=~/apps/include/g++" "libsubdir=~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60" "gcc_version=egcs-2.91.60" "gcc_version_trigger=/home/sb/src/install/egcs-1.1.1/gcc/version.c" "AR=ar" "AR_FLAGS=rc" "CC=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CXX=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=nm" "RANLIB=ranlib" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/sb/src/install/egcs-1.1.1/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.9.0" "SHCURSES=" "RUNTES!
!
TFLAGS=" \
			CFLAGS="-g -O2 ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			install); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libstdc++'
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
cd libI77; make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' all
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libI77'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libI77'
cd libF77; make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' all
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libF77'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libF77'
cd libU77; make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' all
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libU77'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c/libU77'
make CC='/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/' CFLAGS='-g -O2' CPPFLAGS='' AR='ar' RANLIB='ranlib' PICFLAG='' RUNTESTFLAGS='' libg2c.a
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
make[2]: `libg2c.a' is up to date.
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libg2c.a ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/libg2c.a.n
( cd ~/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60 ; ranlib libg2c.a.n )
ranlib: libg2c.a.n: No such file or directory
make[1]: *** [install] Error 9
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libf2c'
make: *** [install-target-libf2c] Error 2
make[1]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
make[2]: Entering directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
if [ -z "" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd .; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=rc" "CC=/home/sb/src/install/egcs-1.1.1/gcc/xgcc -B/home/sb/src/install/egcs-1.1.1/gcc/" "CFLAGS=-g -O2" "LIBCFLAGS=-g -O2" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c " "LDFLAGS=" "LOADLIBES=" "RANLIB=ranlib" "SHELL=/bin/sh" \
			CFLAGS="-g -O2 ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			all); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
/bin/sh /home/sb/src/install/egcs-1.1.1/install-sh -c -m 644 libiberty.a ~/apps/i686-pc-linux-gnulibc1/lib/libiberty.a.n
( cd ~/apps/i686-pc-linux-gnulibc1/lib ; ranlib libiberty.a.n )
ranlib: libiberty.a.n: No such file or directory
make[1]: *** [install_to_tooldir] Error 9
make[1]: Target `install' not remade because of errors.
make[1]: Leaving directory `/home/sb/src/install/egcs-1.1.1/i686-pc-linux-gnulibc1/libiberty'
make: *** [install-target-libiberty] Error 2
make: Target `install' not remade because of errors.

Compilation exited abnormally with code 2 at Thu Jan 21 11:55:40

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

* Re: unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  4:51   ` Steinar Bang
  1999-01-21  6:27     ` Steinar Bang
@ 1999-01-31 23:58     ` Steinar Bang
  1 sibling, 0 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-31 23:58 UTC (permalink / raw)
  To: egcs

>>>>> Steinar Bang <sb@metis.no>:

>>>>> Steinar Bang <sb@metis.no>:
>> Platform: linux S.u.S.E. 5.3
>> I don't get it!  Two weeks ago I successfully installed egcs-1.1.1 on
>> this very same machine, using
>> ./configure --prefix=~/apps --enable-shared

>> That installation had problems linking some (not all) shared libs, so
>> I wanted to install egcs without the --enable-shared configuration
>> option, ie. configured with
>> ./configure --prefix=~/apps

>> However this time I was unsuccessful in getting a working installation.
>> I'm getting messages like this:
>> g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
>> g++: installation problem, cannot exec `cc1plus': No such file or directory
>> mmlAst.cpp:28: iostream: No such file or directory
>> cpp: output pipe has been closed

> This isn't the obvious one that I'm running the g++ installed by the
> system, because the system's 2.7.2.1 installation doesn't *have* a g++ 
> installed, and besides, "which g++" gives me the following answer:
>> which gcc
> 	/home/sb/apps/bin/gcc

> Hm... I'm installing from the exact same tar.gz file I got a
> successful installation from earlier.  It successfully does a 3 stage
> bootstrap and it seems to install all the correct files in all the
> expected places.

> The most probable thing is that something has changed in my
> installation... but what on earth could it be...?

I tried setting COMPILER_PATH 
	export COMPILER_PATH=/home/sb/apps/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.60/
and then the compilation got further... but now he can't find the
include files... hmph... (though it may look like there's something as 
simple as a path problem...)


> make
make -C mmlparser "RELEASE=0" "PROFILE=0"
make[1]: Entering directory `/home/sb/2x/src/mmlparser'
tmake mmlparser.pro -o GNUmakefile.debug \
    "DEFINES+=QT_FATAL_ASSERT" "CONFIG+=debug" "OBJECTS_DIR=.obj/debug"
MmlBaseP.cppmmlbase.cppmmlbaseLexer.cppmake -f GNUmakefile.debug
make[2]: Entering directory `/home/sb/2x/src/mmlparser'
g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
mmlAst.cpp:28: iostream: No such file or directory
/home/sb/2x/3rdparty/pccts/h/PCCTSAST.h: In method `class PCCTS_AST * PCCTS_AST::shallowCopy()':
In file included from /home/sb/2x/3rdparty/pccts/h/ASTBase.h:35,
                 from /home/sb/2x/3rdparty/pccts/h/Ast.h:46,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/PCCTSAST.h:109: warning: ANSI C++ forbids implicit conversion from `void *' in return
/home/sb/2x/3rdparty/pccts/h/ASTBase.h: In method `ASTBase::ASTBase()':
In file included from /home/sb/2x/3rdparty/pccts/h/Ast.h:46,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/ASTBase.h:56: warning: ANSI C++ forbids implicit conversion from `void *' in assignment
/home/sb/2x/3rdparty/pccts/h/AToken.h: In method `class ANTLRAbstractToken * ANTLRRefCountToken::makeToken(enum ANTLRTokenType, ANTLRChar *, int)':
In file included from /home/sb/2x/3rdparty/pccts/h/Ast.h:47,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/AToken.h:147: warning: ANSI C++ forbids implicit conversion from `void *' in return
/home/sb/2x/3rdparty/pccts/h/ATokPtr.h: At top level:
In file included from /home/sb/2x/3rdparty/pccts/h/Ast.h:48,
                 from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/ATokPtr.h:41: warning: invalid type `void *' for default argument to `ANTLRAbstractToken *'
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST(class ANTLRTokenPtr)':
In file included from mmlAst.cpp:37:
/home/sb/2x/3rdparty/pccts/h/Ast.h:55: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST(class AST *)':
/home/sb/2x/3rdparty/pccts/h/Ast.h:56: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST(enum ANTLRTokenType)':
/home/sb/2x/3rdparty/pccts/h/Ast.h:57: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `AST::AST()':
/home/sb/2x/3rdparty/pccts/h/Ast.h:58: warning: ANSI C++ forbids implicit conversion from `void *' in default argument
/home/sb/2x/3rdparty/pccts/h/Ast.h: In method `char * AST::symbol()':
/home/sb/2x/3rdparty/pccts/h/Ast.h:62: no match for `ANTLRTokenPtr & != void *'
/home/sb/2x/3rdparty/pccts/h/ATokPtr.h:50: candidates are: ANTLRTokenPtr::operator !=(const ANTLRTokenPtr &)
mmlAst.cpp: At top level:
mmlAst.cpp:40: syntax error before `&'
mmlAst.cpp:44: warning: ANSI C++ forbids declaration `a' with no type
mmlAst.cpp:44: `ac' was not declared in this scope
mmlAst.cpp:45: parse error before `if'
mmlAst.cpp:49: parse error before `;'
mmlAst.cpp:49: syntax error before `++'
mmlAst.cpp:50: base operand of `->' is not a pointer
mmlAst.cpp:51: `first_word' was not declared in this scope
mmlAst.cpp:51: base operand of `->' is not a pointer
mmlAst.cpp:51: warning: ANSI C++ forbids declaration `strncpy' with no type
mmlAst.cpp:51: `int strncpy' redeclared as different kind of symbol
/usr/include/string.h:75: previous declaration of `char * strncpy(char *, const char *, size_t)'
mmlAst.cpp:51: warning: initializer list being treated as compound expression
mmlAst.cpp:52: syntax error before `<'
mmlAst.cpp: In method `void AST::preorder_before_action()':
mmlAst.cpp:65: `cout' undeclared (first use this function)
mmlAst.cpp:65: (Each undeclared identifier is reported only once
mmlAst.cpp:65: for each function it appears in.)
mmlAst.cpp: In method `void AST::preorder_action()':
mmlAst.cpp:71: confused by earlier errors, bailing out
make[2]: *** [.obj/debug/mmlAst.o] Error 1
make[2]: Leaving directory `/home/sb/2x/src/mmlparser'
make[1]: *** [debug] Error 2
make[1]: Leaving directory `/home/sb/2x/src/mmlparser'
make: *** [mmlparser] Error 2

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

* Re: unsuccessful installation of egcs-1.1.1 (can't find cc1plus)
  1999-01-21  4:35 ` Steinar Bang
  1999-01-21  4:51   ` Steinar Bang
@ 1999-01-31 23:58   ` Steinar Bang
  1 sibling, 0 replies; 8+ messages in thread
From: Steinar Bang @ 1999-01-31 23:58 UTC (permalink / raw)
  To: egcs

>>>>> Steinar Bang <sb@metis.no>:

> Platform: linux S.u.S.E. 5.3
> I don't get it!  Two weeks ago I successfully installed egcs-1.1.1 on
> this very same machine, using
> 	./configure --prefix=~/apps --enable-shared

> That installation had problems linking some (not all) shared libs, so
> I wanted to install egcs without the --enable-shared configuration
> option, ie. configured with
> 	./configure --prefix=~/apps

> However this time I was unsuccessful in getting a working installation.
> I'm getting messages like this:
> 	g++ -c -pipe -g -fPIC -DANTLRCommonTokenTEXTSIZE=1024 -DQT_FATAL_ASSERT -I/home/sb/2x/include -I/home/sb/2x/3rdparty/pccts/sorcerer/h -I/home/sb/2x/3rdparty/pccts/h -o .obj/debug/mmlAst.o mmlAst.cpp
> 	g++: installation problem, cannot exec `cc1plus': No such file or directory
> 	mmlAst.cpp:28: iostream: No such file or directory
> 	cpp: output pipe has been closed

This isn't the obvious one that I'm running the g++ installed by the
system, because the system's 2.7.2.1 installation doesn't *have* a g++ 
installed, and besides, "which g++" gives me the following answer:
	> which gcc
	/home/sb/apps/bin/gcc

Hm... I'm installing from the exact same tar.gz file I got a
successful installation from earlier.  It successfully does a 3 stage
bootstrap and it seems to install all the correct files in all the
expected places.

The most probable thing is that something has changed in my
installation... but what on earth could it be...?

I'm stumped!

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

end of thread, other threads:[~1999-01-31 23:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-21  3:08 unsuccessful installation of egcs-1.1.1 (can't find cc1plus) Steinar Bang
1999-01-21  4:35 ` Steinar Bang
1999-01-21  4:51   ` Steinar Bang
1999-01-21  6:27     ` Steinar Bang
1999-01-31 23:58       ` Steinar Bang
1999-01-31 23:58     ` Steinar Bang
1999-01-31 23:58   ` Steinar Bang
1999-01-31 23:58 ` Steinar Bang

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).