On 09/09/14 22:38, Mick wrote:
On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:
On 09/09/14 14:46, Todd Goodman wrote:
>* Joseph <[email protected]> [140909 14:37]:
>> I was installing an application gimp and all of a sudden I got an error:
>[SNIP]
>
>> configure: error: in
>> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
>
>What does 'gcc-config -l' show?

I tried to set blindly gcc to active one: "gcc-config 1" but I get the same
error

 * gcc-config: Could not get portage CHOST!
 * gcc-config: You should verify that CHOST is set in one of these places:
 * gcc-config:  - //etc/portage/make.conf
 * gcc-config:  - active environment

It is a new installation on SSD and it is broken.
I can't proceed with gcc upgrade/setting, in fact my system is currently
broken.

You do not have an /etc/portage/make.conf file, or you have not configured the
default with the correct settings?

Follow the installation guide and you should find your way out of there.

--
Regards,
Mick

"make.conf" can be in /etc or /etc/portage mine is in /etc
It was working find but all of a sudden it stopped. emerge and other commands related to emerge don't work.

Here is my make.conf

CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

CHOST="x86_64-pc-linux-gnu"

USE="-acl -gnome -kde -minimal -qt3 -qt4 -hal X consolekit brandingdvd dbus 
lock  \
session startup-notification thunar alsa cdr cups apache2 ssl foomaticdb ppds 
mysql \
java tiff jpeg png pam policykit usb udev scanner gimp gimpprint cgi fam nplt 
truetype \
type1 opengl tetex lm_sensors mmx sse sse2 spell -systemd"

INPUT_DEVICES="evdev"
LINGUAS="en"
VIDEO_CARDS="intel vesa"
SANE_BACKENDS="fujitsu"
ACCEPT_LICENSE="${ACCEPT_LICENSE} PUEL dlj-1.1 Oracle-BCLA-JavaSE"
PHP_TARGETS="php5-3 php5-4"
PHP_INI_VERSION="production"

EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror";
FEATURES="parallel-fetch strict fixlafiles"

PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="mail"
PORTAGE_ELOG_MAILURI="root@localhost /usr/sbin/sendmail"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

#local portage
PORTDIR_OVERLAY="/usr/local/portage"

# Set PORTDIR for backward compatibility with various tools:
PORTDIR="/usr/portage"

--
Joseph

Reply via email to