1 |
150126 Bill Kenworthy wrote: |
2 |
> On 26/01/15 13:01, Philip Webb wrote: |
3 |
>> Having restored X & proceeding to work thro' pkgs, I emerged |
4 |
>> reiserfsprogs lsof kbd tar baselayout libutempter autoconf-wrapper |
5 |
>> bin86 push coreutils gmp . Trying the next set of pkgs, |
6 |
>> I got the dreaded "C compiler cannot create executables". |
7 |
>> I suspect some effect from baselayout or coreutils. Gcc is 4.8.3 . |
8 |
> rattus ~ # gcc-config -l |
9 |
> [1] x86_64-pc-linux-gnu-4.8.3 * |
10 |
> rattus ~ # gcc-config 1 |
11 |
> * Switching native-compiler to x86_64-pc-linux-gnu-4.8.3 ... |
12 |
|
13 |
I had already done that & it shouldn't give that error. |
14 |
|
15 |
> you may need to run fix_libtool_files.sh , |
16 |
> if there was a gcc switch in the past. |
17 |
|
18 |
I tried that & it found nothing. I also tried restoring from binary |
19 |
coreutils baselayout kbd (all system, so rescue pkgs available). |
20 |
Then I noticed "specific snippet: econf failed" & tried Google again, |
21 |
which showed me https://forums.gentoo.org/viewtopic-t-932946-start-O.html . |
22 |
|
23 |
The problem was the obscure & non-system gmp , one of Gcc's requirements : |
24 |
Gcc 4.8.3 had been recompiled vs the earlier version of Gmp |
25 |
& couldn't find /usr/lib/libgmp.so.3 ; the temporary solution is |
26 |
'ln -s /usr/lib/libgmp.so.10.1.3 /usr/lib/libgmp.so.3', which pleases Gcc, |
27 |
which is now recompiling itself (estimate 3 h 30 m ), after wh all sb well. |
28 |
To be on the safe side, I first updated zip mpc mpfr texinfo flex , |
29 |
which are also requirements of Gcc & have newer versions. |
30 |
|
31 |
Thanks for advice, even if it was off-target this time (smile). |
32 |
|
33 |
-- |
34 |
========================,,============================================ |
35 |
SUPPORT ___________//___, Philip Webb |
36 |
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
37 |
TRANSIT `-O----------O---' purslowatchassdotutorontodotca |