1 |
On 09/09/14 22:38, Mick wrote: |
2 |
>On Tuesday 09 Sep 2014 20:15:09 Joseph wrote: |
3 |
>> On 09/09/14 14:46, Todd Goodman wrote: |
4 |
>> >* Joseph <syscon780@×××××.com> [140909 14:37]: |
5 |
>> >> I was installing an application gimp and all of a sudden I got an error: |
6 |
>> >[SNIP] |
7 |
>> > |
8 |
>> >> configure: error: in |
9 |
>> >> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10': |
10 |
>> >> configure: error: C compiler cannot create executables |
11 |
>> >> See `config.log' for more details |
12 |
>> > |
13 |
>> >What does 'gcc-config -l' show? |
14 |
>> |
15 |
>> I tried to set blindly gcc to active one: "gcc-config 1" but I get the same |
16 |
>> error |
17 |
>> |
18 |
>> * gcc-config: Could not get portage CHOST! |
19 |
>> * gcc-config: You should verify that CHOST is set in one of these places: |
20 |
>> * gcc-config: - //etc/portage/make.conf |
21 |
>> * gcc-config: - active environment |
22 |
>> |
23 |
>> It is a new installation on SSD and it is broken. |
24 |
>> I can't proceed with gcc upgrade/setting, in fact my system is currently |
25 |
>> broken. |
26 |
> |
27 |
>You do not have an /etc/portage/make.conf file, or you have not configured the |
28 |
>default with the correct settings? |
29 |
> |
30 |
>Follow the installation guide and you should find your way out of there. |
31 |
> |
32 |
>-- |
33 |
>Regards, |
34 |
>Mick |
35 |
|
36 |
"make.conf" can be in /etc or /etc/portage mine is in /etc |
37 |
It was working find but all of a sudden it stopped. |
38 |
emerge and other commands related to emerge don't work. |
39 |
|
40 |
Here is my make.conf |
41 |
|
42 |
CFLAGS="-march=core2 -O2 -pipe" |
43 |
CXXFLAGS="${CFLAGS}" |
44 |
MAKEOPTS="-j5" |
45 |
|
46 |
# WARNING: Changing your CHOST is not something that should be done lightly. |
47 |
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. |
48 |
|
49 |
CHOST="x86_64-pc-linux-gnu" |
50 |
|
51 |
USE="-acl -gnome -kde -minimal -qt3 -qt4 -hal X consolekit brandingdvd dbus lock \ |
52 |
session startup-notification thunar alsa cdr cups apache2 ssl foomaticdb ppds mysql \ |
53 |
java tiff jpeg png pam policykit usb udev scanner gimp gimpprint cgi fam nplt truetype \ |
54 |
type1 opengl tetex lm_sensors mmx sse sse2 spell -systemd" |
55 |
|
56 |
INPUT_DEVICES="evdev" |
57 |
LINGUAS="en" |
58 |
VIDEO_CARDS="intel vesa" |
59 |
SANE_BACKENDS="fujitsu" |
60 |
ACCEPT_LICENSE="${ACCEPT_LICENSE} PUEL dlj-1.1 Oracle-BCLA-JavaSE" |
61 |
PHP_TARGETS="php5-3 php5-4" |
62 |
PHP_INI_VERSION="production" |
63 |
|
64 |
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y" |
65 |
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" |
66 |
|
67 |
FEATURES="parallel-fetch strict fixlafiles" |
68 |
|
69 |
PORTAGE_ELOG_CLASSES="info warn error log" |
70 |
PORTAGE_ELOG_SYSTEM="mail" |
71 |
PORTAGE_ELOG_MAILURI="root@localhost /usr/sbin/sendmail" |
72 |
PORTAGE_ELOG_MAILFROM="portage" |
73 |
PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" |
74 |
|
75 |
#local portage |
76 |
PORTDIR_OVERLAY="/usr/local/portage" |
77 |
|
78 |
# Set PORTDIR for backward compatibility with various tools: |
79 |
PORTDIR="/usr/portage" |
80 |
|
81 |
-- |
82 |
Joseph |