Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't compile x11-libs/libXt
Date: Tue, 23 Jul 2019 15:01:58
Message-Id: 6be3b3c1-358d-8b1b-6c4a-756499763168@st.com
In Reply to: Re: [gentoo-user] Can't compile x11-libs/libXt by Jens Pelzetter
1 Jens Pelzetter wrote:
2 > Hello Jack,
3 >
4 > a GCC profile is selected:
5 >
6 > # gcc-config -l
7 > [1] x86_64-pc-linux-gnu-8.3.0 *
8 >
9 > # gcc-config -c
10 > x86_64-pc-linux-gnu-8.3.0
11 >
12 > Best regards
13 >
14 > Jens
15 >
16 > Am 23.07.19 um 01:31 schrieb Jack:
17 >> On 2019.07.22 09:02, Jens Pelzetter wrote:
18 >>> Hello everyone,
19 >>>
20 >>> recently x11-libs/libXt was updated to version 1.2.0. On one of systems
21 >>> 1.2.0 does not compile. The error is rather strange:
22 >>>
23 >>> checking for i686-pc-linux-gnu-cpp... /usr/bin/i686-pc-linux-gnu-cpp
24 >>> checking if /usr/bin/i686-pc-linux-gnu-cpp requires -undef...  *
25 >>> gcc-config: No gcc profile is active!
26 >>> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
27 >>> No such file or directory
28 >>> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
29 >>>  * gcc-config: No gcc profile is active!
30 >>> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
31 >>> No such file or directory
32 >>> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
33 >>>  * gcc-config: No gcc profile is active!
34 >>> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
35 >>> No such file or directory
36 >>> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
37 >>> configure: error: /usr/bin/i686-pc-linux-gnu-cpp defines unix with or
38 >>> without -undef.  I don't know what to do.
39 >>>
40 >>> The systems is a multilib systems (32 and 64 Bit). I suspect that it is
41 >>> not a bug in the libXt ebuild but a problem with my system, but I can't
42 >>> figure out what the problem is. Any help is appreciated.
43 >>>
44 >>> build.log, environment etc. are attached.
45 >>>
46 >>> Best regards
47 >>>
48 >> Do you have a gcc profile selected?  "gcc-config -l" should list the
49 >> available ones and indicate which is selected.
50 >>
51 >> Jack
52
53 The gcc compiler for your profile is prefixed by x86_64-* but your configure script is
54 looking for i686-* and does not find it: "gcc-config: error: could not run/locate
55 'i686-pc-linux-gnu-cpp'"
56
57 That said, I'm no longer on multilib since years so I would not know what the root cause
58 of your problem is, sorry.
59
60 Maybe 'eselect profile list' helps?
61
62 raffaele

Replies

Subject Author
Re: [gentoo-user] Can't compile x11-libs/libXt Mick <michaelkintzios@×××××.com>