1 |
Hi folks, |
2 |
|
3 |
a copule of days ago I did a gentoo 2006 fresh install. |
4 |
During the installation, I modified CHOST and the link to /etc/profile, |
5 |
so now I have: |
6 |
|
7 |
lx-arnau ~ # !grep |
8 |
grep CHOST /etc/make.conf |
9 |
CHOST="i686-pc-linux-gnu" |
10 |
# ls -l /etc/make.profile |
11 |
/etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.0/ |
12 |
|
13 |
I have tuned it in older installs, so I did it in new one... (I've seen |
14 |
in forums some people advertising that CHOST flags must not be |
15 |
changed). I also modified profile cause it pointed to no-nptl/ one... |
16 |
|
17 |
Well, I emerged my full system (kdebase, amarok, SC, etc...) and after |
18 |
that I left an emerge -uD world wich failed with: |
19 |
>>> emerge (1 of 21) sys-apps/portage-2.0.54-r2 to / |
20 |
[...] |
21 |
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG |
22 |
-march=pentium4 -O2 -pipe -fomit-frame-pointer -mtune=i686 -fPIC |
23 |
-I/usr/include/python2.4 -c missingos.c -o |
24 |
build/temp.linux-i686-2.4/missingos.o gcc-config error: Could not |
25 |
run/locate "i386-pc-linux-gnu-gcc" error: command |
26 |
'i386-pc-linux-gnu-gcc' failed with exit status 1 |
27 |
|
28 |
Si, I looked for this error in forums. |
29 |
I found a howto for this problem, wich said: |
30 |
http://forums.gentoo.org/viewtopic-t-321340-highlight-fixlibto |
31 |
olfiles+sh+3+4+4+oldarch+i386pclinuxgnu.html |
32 |
(careful with the wrapped line if you want to open link) |
33 |
so I did: |
34 |
|
35 |
# gcc-config -l |
36 |
[1] i686-pc-linux-gnu-3.4.5 * |
37 |
[2] i686-pc-linux-gnu-3.4.5-hardened |
38 |
[3] i686-pc-linux-gnu-3.4.5-hardenednopie |
39 |
[4] i686-pc-linux-gnu-3.4.5-hardenednopiessp |
40 |
[5] i686-pc-linux-gnu-3.4.5-hardenednossp |
41 |
|
42 |
For what I see, I only have a compiler, but, I did some |
43 |
fix_libtool_files.sh 3.4.5 and other combinations looking for a |
44 |
solution. |
45 |
|
46 |
Well, I did not find it, and now, I think I have missconfigured my gcc, |
47 |
cause, trying to emerge kdeartwork-kscreensaver I got this error: |
48 |
|
49 |
[...] |
50 |
/bin/sh ../../libtool --silent --mode=link --tag=CXX |
51 |
i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 |
52 |
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W |
53 |
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe |
54 |
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor |
55 |
-fno-exceptions -fno-check-new -fno-common -L/usr/kde/3.4/lib |
56 |
-L/usr/qt/3/lib -L/usr/lib -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib |
57 |
-R /usr/qt/3/lib -R /usr/lib -o kbanner.kss banner.o -lkdeui |
58 |
-lkscreensaver libtool: link: cannot find the library |
59 |
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la' make[4]: *** |
60 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
61 |
[kbanner.kss] Error 1 make[4]: Leaving directory |
62 |
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3/kscreensaver/kdesavers' |
63 |
make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory |
64 |
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3/kscreensaver/kdesavers' |
65 |
make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory |
66 |
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3/kscreensaver' |
67 |
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory |
68 |
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3' |
69 |
make: *** [all] Error 2 |
70 |
|
71 |
As you could see, cc is looking for libstdc++.la in 3.4.4 directory, |
72 |
but it's in 3.4.5 dir... |
73 |
|
74 |
So, my questions: |
75 |
|
76 |
1.-) Do I have missconfigured my gcc?¿ |
77 |
|
78 |
2.-) How may I fix it? |
79 |
|
80 |
3.-) May tune CHOST and make.profile? |
81 |
|
82 |
Many thanks to all the people who have read all the post! |
83 |
Cheers! |
84 |
-- |
85 |
Arnau Bria |
86 |
http://blog.emergetux.net |
87 |
|
88 |
-- |
89 |
gentoo-user@g.o mailing list |