Gentoo Archives: gentoo-dev

From: Peter Ruskin <aoyu93@×××××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything
Date: Fri, 16 Aug 2002 14:37:10
Message-Id: 200208162037.16149.aoyu93@dsl.pipex.com
In Reply to: Re: [gentoo-dev] Re: Gentoo 1.2 to 1.4 update, HowTo do it and not break everything by Spider
1 On Wednesday 14 Aug 2002 18:03, Spider wrote:
2 > begin quote
3 > On Wed, 14 Aug 2002 16:48:54 +0000
4 >
5 > "A.Waschbuesch" <awaschb@××××.de> wrote:
6 > > Tried just
7 > >
8 > > $ emerge imagemagick
9 > >
10 > > and got
11 > >
12 > > $ "This compiler version is unable to build binaries ..." I must
13 > > admit - that happened before too.
14 > >
15 > > Greets - Andrew
16 >
17 > okay, debugging time! My favourite behind that glorious moment when all
18 > things work ;)
19 >
20 > run /usr/bin/gcc -v
21 > /usr/bin/c++ -v
22 >
23 > check that both are gcc 3.2 _pre
24 >
25 > make sure that /etc/ld.so.conf has both gcc paths in it
26 >
27 >
28 > look in //var/tmp/portage/imagemagick-*/work/imagemagick*/config.log
29 > and check the exact compile message / errors.
30 >
31 > to have mixed c++ and gcc versions will surely break things. been
32 > there, done that.
33 >
34 OK, I followed your excellent tutorial and now I have gcc-3.2. I have
35 to rebuild a bunch of stuff:
36 xfree, imagemagick, bcast, clanlib, fam-oss, gtkglext, gtkglarea, id3lib,
37 postgresql, pspell, pspell-ispell, avifile and wxGTK.
38
39 I had to comment out the "no-mmx" stuff in xfree's ebuild because that
40 option wasn't allowed. xfree is building now.
41
42 But I still have c++ at 2.95 - how can I change that?
43
44 # /usr/bin/gcc -v
45 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
46 Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure
47 --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
48 --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
49 --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c
50 --enable-threads=posix --enable-long-long --disable-checking
51 --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
52 --enable-version-specific-runtime-libs
53 --with-gxx-include-dir=/usr/include/g++-v32
54 --with-local-prefix=/usr/local --disable-nls
55 Thread model: posix
56 gcc version 3.2
57
58 # /usr/bin/c++ -v
59 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
60 gcc version 2.95.3 20010315 (release)
61
62 --
63 Gentoo Linux (portage-2.0.27). KDE: 3.0.2 Qt: 3.0.5.
64 AMD Athlon(tm) XP 1600+ 513MB. Kernel: 2.4.19-win4lin
65 Linux user #275590 (http://counter.li.org/). up 2 days, 8:12.
66 #=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=#

Replies