1 |
Joseph wrote: |
2 |
> I was installing an application gimp and all of a sudden I got an error: |
3 |
> |
4 |
>>>> Emerging (7 of 8) media-gfx/gimp-2.8.10-r1 |
5 |
> * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) |
6 |
> ... |
7 |
> [ ok ] |
8 |
> * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-) |
9 |
> ... |
10 |
> [ ok ] |
11 |
>>>> cfg-update-1.8.2-r1: Creating checksum index... |
12 |
>>>> Unpacking source... |
13 |
>>>> Unpacking gimp-2.8.10.tar.bz2 to |
14 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work |
15 |
>>>> Unpacking gimp-2.8.10-freetype251.patch to |
16 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work |
17 |
> unpack gimp-2.8.10-freetype251.patch: file format not recognized. |
18 |
> Ignoring. |
19 |
>>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work |
20 |
>>>> Preparing source in |
21 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ... |
22 |
> * Applying gimp-2.7.4-no-deprecation.patch |
23 |
> ... |
24 |
> [ ok ] |
25 |
> * Applying gimp-2.8.10-freetype251.patch |
26 |
> ... |
27 |
> [ ok ] |
28 |
> * Applying gimp-2.8.10-clang.patch |
29 |
> ... |
30 |
> [ ok ] |
31 |
> * Running eautoreconf in |
32 |
> '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ... |
33 |
> * Running glib-gettextize --copy --force |
34 |
> ... |
35 |
> [ ok ] |
36 |
> * Running intltoolize --automake --copy --force |
37 |
> ... |
38 |
> [ ok ] |
39 |
> * Skipping 'gtkdocize --copy' due gtkdocize not installed |
40 |
> * Running libtoolize --install --copy --force --automake |
41 |
> ... |
42 |
> [ ok ] |
43 |
> * Running aclocal -I m4macros |
44 |
> ... |
45 |
> [ ok ] |
46 |
> * Running autoconf |
47 |
> ... |
48 |
> [ ok ] |
49 |
> * Running autoheader |
50 |
> ... |
51 |
> [ ok ] |
52 |
> * Running automake --add-missing --copy --force-missing |
53 |
> ... |
54 |
> [ ok ] |
55 |
> * Running elibtoolize in: gimp-2.8.10/ |
56 |
> * Applying portage/1.2.0 patch ... |
57 |
> * Applying sed/1.5.6 patch ... |
58 |
> * Applying as-needed/2.4.2 patch ... |
59 |
> * Applying target-nm/2.4.2 patch ... |
60 |
> * Fixing OMF Makefiles |
61 |
> ... |
62 |
> [ ok ] |
63 |
> * Disabling deprecation warnings |
64 |
> ... |
65 |
> [ ok ] |
66 |
>>>> Source prepared. |
67 |
>>>> Configuring source in |
68 |
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ... |
69 |
> * econf: updating gimp-2.8.10/config.sub with |
70 |
> /usr/share/gnuconfig/config.sub |
71 |
> * econf: updating gimp-2.8.10/config.guess with |
72 |
> /usr/share/gnuconfig/config.guess |
73 |
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu |
74 |
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man |
75 |
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc |
76 |
> --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules |
77 |
> --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1 |
78 |
> --disable-maintainer-mode --disable-gtk-doc --enable-default-binary |
79 |
> --disable-silent-rules --with-x --without-aa --with-alsa |
80 |
> --disable-altivec --with-bzip2 --without-libcurl --with-dbus |
81 |
> --without-gvfs --without-webkit --with-libjpeg --without-libjasper |
82 |
> --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx |
83 |
> --with-libmng --with-poppler --with-libpng --disable-python |
84 |
> --disable-mp --enable-sse --with-librsvg --with-libtiff --with-gudev |
85 |
> --without-wmf --with-xmc --without-libxpm --without-xvfb-run |
86 |
> checking for a BSD-compatible install... /usr/bin/install -c |
87 |
> checking whether build environment is sane... yes |
88 |
> checking for a thread-safe mkdir -p... /bin/mkdir -p |
89 |
> checking for gawk... gawk |
90 |
> checking whether make sets $(MAKE)... yes |
91 |
> checking whether make supports nested variables... yes |
92 |
> checking whether make supports nested variables... (cached) yes |
93 |
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
94 |
> checking whether the C compiler works... no |
95 |
> configure: error: in |
96 |
> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10': |
97 |
> configure: error: C compiler cannot create executables |
98 |
> See `config.log' for more details |
99 |
> |
100 |
> |
101 |
> Now, emerge / equery will not even show up on a command line. |
102 |
> Most of the time I'm getting an error: |
103 |
> error while loading shared libraries: libstdc++.so.6: cannot open |
104 |
> shared object file: No such file or directory |
105 |
> |
106 |
> Running on my other system I get: |
107 |
> equery b libstdc++.so.6 |
108 |
> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4 |
109 |
> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -> |
110 |
> libstdc++.so.6.0.14) |
111 |
> |
112 |
> env-update - doesn't work either |
113 |
> |
114 |
|
115 |
I ran into this and I think I ran this: |
116 |
|
117 |
gcc-config -l |
118 |
|
119 |
And make sure a compiler is selected. If not, do gcc-config <number of |
120 |
one you want to use> Usually that is the highest one but could depend. |
121 |
Either way, one should have a "*" by it like this on mine: |
122 |
|
123 |
root@fireball / # gcc-config -l |
124 |
[1] x86_64-pc-linux-gnu-4.7.3 * |
125 |
root@fireball / # |
126 |
|
127 |
I hope that helps, if not, I'm sure other ideas will come along soon. |
128 |
|
129 |
Dale |
130 |
|
131 |
:-) :-) |