Skip to Content.
Sympa Menu

sm-grimoire - RE: [SM-Grimoire]GCC fails on `make install'

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: "Jaanus Heeringson" <jaanus AT heeringson.com>
  • To: <sm-grimoire AT lists.ibiblio.org>
  • Subject: RE: [SM-Grimoire]GCC fails on `make install'
  • Date: Sat, 26 Oct 2002 13:40:12 +0200

I know your pain. Been there, done that.

Originally I wanted to upgrade my 1+ year old sgl install to use
gcc 3.2 and glibc 2.3.1 and failed miserably. During the following four
days I tried numerous fresh installs from various iso versions, and all
of them failed somewhere along the way. This is the solution I finally
came up with:

1. Installed from the 1001-1.iso (gcc 3.2 glibc 2.5.5)
2. Set sorcery branch to stable
3. scribe add test
4. scribe remove devel
5. sorcery update
6. Updated glibc and did the ldconfig thingie
7. Recast gcc in order to rebuild. Failed miserably -> no gcc
8. Went into /usr/src/gcc-3.2.bld and "make install"
9. Manually added the missing links from the gcc BUILD spell
10. Modified my /var/state/sorcery/packages by adding gcc in order
too fool sgl to think all went ok with the install.

This was a couple of days ago, and I haven't had any trouble
since. Of cause this might be due to not really daring to do the sorcery
system-update since I found that this is a great way to break a
functional setup. Right now I prefer to manually cast spells in order to
update.

I'm not sure staying with the stable sorcery is the right thing,
but alas, from my pas experience I can't really say one is worse than
the other. I will probably wait with updating sorcery until there is a
somewhat more stable version out there...

MVH

Jaanus Heeringson
Heeringson Art & Design
Mobile: +46 73-709 74 39
HTTP: www.heeringson.com

> -----Original Message-----
> From: sm-grimoire-admin AT lists.ibiblio.org [mailto:sm-grimoire-
> admin AT lists.ibiblio.org] On Behalf Of Sergey A. Lipnevich
> Sent: den 24 oktober 2002 05:50
> To: julian AT openit.de
> Cc: sm-grimoire AT lists.ibiblio.org
> Subject: [SM-Grimoire]GCC fails on `make install'
>
> Hi Julian,
>
> Could you please help me out with the following? GCC is failing
/on
> `make install'/ after I cast the new glibc, the final "breath"
is
> attached. I know it's on the install part because GCC gets
dispelled. I
> wonder if I'm alone in this hole :-(.
> Thanks a lot!
>
> Sergey.
>
> rm -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs; \
> /bin/sh /usr/src/gcc-3.2/install-sh -c -m 644 specs
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/spe
> cs; \
> chmod a-x /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs; \
> fi
> if [ -f protoize ]; \
> then \
> if [ -f gcc-cross ] ; then \
> rm -f /usr/bin/`echo protoize|sed
's,^,i686-pc-linux-gnu-,'`; \
> /bin/sh /usr/src/gcc-3.2/install-sh -c protoize
/usr/bin/`echo
> protoize|sed 's,^,i686-p
> c-linux-gnu-,'`; \
> rm -f /usr/bin/`echo unprotoize|sed
's,^,i686-pc-linux-gnu-,'`;
> \
> /bin/sh /usr/src/gcc-3.2/install-sh -c unprotoize
> /usr/bin/`echo unprotoize|sed 's,^,i6
> 86-pc-linux-gnu-,'`; \
> else \
> rm -f /usr/bin/`echo protoize|sed 's,x,x,'`; \
> /bin/sh /usr/src/gcc-3.2/install-sh -c protoize
/usr/bin/`echo
> protoize|sed 's,x,x,'`;
> \
> rm -f /usr/bin/`echo unprotoize|sed 's,x,x,'`; \
> /bin/sh /usr/src/gcc-3.2/install-sh -c unprotoize
> /usr/bin/`echo unprotoize|sed 's,x,x,
> '`; \
> fi ; \
> rm -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/SYSCALLS.c.X; \
> /bin/sh /usr/src/gcc-3.2/install-sh -c -m 644 SYSCALLS.c.X
> /usr/lib/gcc-lib/i686-pc-linux-gn
> u/3.2/SYSCALLS.c.X; \
> chmod a-x
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/SYSCALLS.c.X; \
> fi
> rm -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/cpp0
> /bin/sh /usr/src/gcc-3.2/install-sh -c cpp0
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/cpp0
> rm -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/tradcpp0
> /bin/sh /usr/src/gcc-3.2/install-sh -c tradcpp0
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/tradcpp0
> if [ -f gcov ]; \
> then \
> rm -f /usr/bin/gcov; \
> /bin/sh /usr/src/gcc-3.2/install-sh -c gcov /usr/bin/`echo
> gcov|sed
> 's,x,x,'`; \
> fi
> /bin/sh /usr/src/gcc-3.2/install-sh -c gccbug /usr/bin/`echo
gccbug|sed
> 's,x,x,'`
> rm -rf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
> mkdir /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
> chmod a+rx /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
> (cd `pwd`/include ; \
> tar -cf - .; exit 0) | (cd
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include; tar xpf - )
> tar: linux: Cannot lchown to uid 0 gid 0: No such file or
directory
> tar: X11: Cannot lchown to uid 0 gid 0: No such file or
directory
> tar: Error exit delayed from previous errors
> make[1]: *** [install-headers-tar] Error 2
> make[1]: Leaving directory `/usr/src/gcc-3.2.bld/gcc'
> make: *** [install-gcc] Error 2
> ! Problem Detected !
>
> _______________________________________________
> SM-Grimoire mailing list
> SM-Grimoire AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-grimoire






Archive powered by MHonArc 2.6.24.

Top of Page