Gentoo Archives: gentoo-user

From: Jens Pelzetter <jens.pelzetter@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't compile x11-libs/libXt
Date: Tue, 23 Jul 2019 14:21:01
Message-Id: 5294227a-8a8c-344f-8136-c7f24fab3aa9@googlemail.com
In Reply to: Re: [gentoo-user] Can't compile x11-libs/libXt by Jack
1 Hello Jack,
2
3 a GCC profile is selected:
4
5 # gcc-config -l
6 [1] x86_64-pc-linux-gnu-8.3.0 *
7
8 # gcc-config -c
9 x86_64-pc-linux-gnu-8.3.0
10
11 Best regards
12
13 Jens
14
15 Am 23.07.19 um 01:31 schrieb Jack:
16 > On 2019.07.22 09:02, Jens Pelzetter wrote:
17 >> Hello everyone,
18 >>
19 >> recently x11-libs/libXt was updated to version 1.2.0. On one of systems
20 >> 1.2.0 does not compile. The error is rather strange:
21 >>
22 >> checking for i686-pc-linux-gnu-cpp... /usr/bin/i686-pc-linux-gnu-cpp
23 >> checking if /usr/bin/i686-pc-linux-gnu-cpp requires -undef...  *
24 >> gcc-config: No gcc profile is active!
25 >> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
26 >> No such file or directory
27 >> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
28 >>  * gcc-config: No gcc profile is active!
29 >> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
30 >> No such file or directory
31 >> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
32 >>  * gcc-config: No gcc profile is active!
33 >> /usr/bin/gcc-config: line 76: /etc/env.d/gcc/config-i686-pc-linux-gnu:
34 >> No such file or directory
35 >> gcc-config: error: could not run/locate 'i686-pc-linux-gnu-cpp'
36 >> configure: error: /usr/bin/i686-pc-linux-gnu-cpp defines unix with or
37 >> without -undef.  I don't know what to do.
38 >>
39 >> The systems is a multilib systems (32 and 64 Bit). I suspect that it is
40 >> not a bug in the libXt ebuild but a problem with my system, but I can't
41 >> figure out what the problem is. Any help is appreciated.
42 >>
43 >> build.log, environment etc. are attached.
44 >>
45 >> Best regards
46 >>
47 > Do you have a gcc profile selected?  "gcc-config -l" should list the
48 > available ones and indicate which is selected.
49 >
50 > Jack

Replies

Subject Author
Re: [gentoo-user] Can't compile x11-libs/libXt Raffaele Belardi <raffaele.belardi@××.com>