не собирается mysql - ругается на gcc :/ [SOLVED]

доброго временм суток!

пытаюсь поставить dev-db/mysql, а в ответ получаю:

[root@xxxx ~]# emerge -va dev-db/mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-db/mysql-5.0.84-r1  USE="berkdb community perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -test" 0 kB
[ebuild  N    ] virtual/mysql-5.0  0 kB
[ebuild  N    ] dev-perl/DBD-mysql-4.00.5  0 kB

Total: 3 packages (3 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 3) dev-db/mysql-5.0.84-r1
 * mysql-5.0.84.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                             [ ok ]
 * mysql-extras-20090908-1245Z.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                             [ ok ]
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

 * CPV:  dev-db/mysql-5.0.84-r1
 * REPO: gentoo
 * USE:  berkdb community elibc_glibc kernel_linux perl ssl userland_GNU x86
 * ERROR: dev-db/mysql-5.0.84-r1 failed:
 *   Active GCC too old! Must have at least GCC4.3
 * 
 * Call stack:
 *      ebuild.sh, line   54:  Called pkg_setup
 *      ebuild.sh, line 1347:  Called mysql_pkg_setup
 *   mysql.eclass, line  607:  Called die
 * The specific snippet of code:
 *                      2*|3*|4.0|4.1|4.2) die "Active GCC too old! Must have at least GCC4.3" ;;
 * 
 * If you need support, post the output of 'emerge --info =dev-db/mysql-5.0.84-r1',
 * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.0.84-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.84-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.84-r1/temp/die.env'.
 * S: '/var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql'

>>> Failed to emerge dev-db/mysql-5.0.84-r1, Log file:

>>>  '/var/tmp/portage/dev-db/mysql-5.0.84-r1/temp/build.log'

 * Messages for package dev-db/mysql-5.0.84-r1:

 * ERROR: dev-db/mysql-5.0.84-r1 failed:
 *   Active GCC too old! Must have at least GCC4.3
 * 
 * Call stack:
 *      ebuild.sh, line   54:  Called pkg_setup
 *      ebuild.sh, line 1347:  Called mysql_pkg_setup
 *   mysql.eclass, line  607:  Called die
 * The specific snippet of code:
 *                      2*|3*|4.0|4.1|4.2) die "Active GCC too old! Must have at least GCC4.3" ;;
 * 
 * If you need support, post the output of 'emerge --info =dev-db/mysql-5.0.84-r1',
 * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.0.84-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.84-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.84-r1/temp/die.env'.
 * S: '/var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql'

при этом в системе вроде как установлен:

*  sys-devel/gcc
      Latest version available: 4.3.4
      Latest version installed: 4.3.4
      Size of files: 59,405 kB
      Homepage:      http://gcc.gnu.org/
      Description:   The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking
      License:       GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ ) FDL-1.2

правда тут пишется другая цифра =)

[root@xxx ~]# emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0/server, gcc-4.1.2, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 04 Mar 2010 15:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion bashlogger berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ldap modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php5 pppd python readline reflection session snmp spl ssl svg sysfs tcpd truetype unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

в какую сторону копать? =)

gcc-config -l ???

gcc-config -l ???

Где мало слов, там вес они имеют... (с) W. Sheakespeare

какая интересная команда!!!

какая интересная команда!!! =) спасибо огромное!!! =))

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".