не могу обновить php вылазит ошибка по lzma-utils

При попытку обновления Php
выводит, решения не нашел

emerge -uDN lzma-utils
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-arch/lzma-utils-4.32.6 to /
* lzma-4.32.6.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking lzma-4.32.6.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking lzma-4.32.6.tar.gz to /var/tmp/portage/app-arch/lzma-utils-4.32.6/work
* Applying lzma-utils-4.32.6-semicolon.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6 ...
* econf: updating lzma-4.32.6/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating lzma-4.32.6/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking if debugging code should be compiled... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/config.log
*
* ERROR: app-arch/lzma-utils-4.32.6 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2029: Called econf
* ebuild.sh, line 513: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-arch/lzma-utils-4.32.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/lzma-utils-4.32.6/temp/environment'.
*

portage обновлял

emerge --info
Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r7-flot i686)
=================================================================
System uname: 2.6.23-hardened-r7-flot i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Mon, 14 Jul 2008 08:38:05 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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.gentoo.org/gentoo-portage"
USE="apache2 bcmath berkdb calendar cracklib crypt curl discard-path ftp gd hardened iconv midi mssql mysql mysqli nls nptl nptlonly oci8 pam pcre pic readline session simplexml slang sockets spl ssl tcpd truetype unicode urandom vhosts x86 xml xorg xsl 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 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

файл /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/config.log

cat /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/config.log | more
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by LZMA configure 4.32.6, which was
generated by GNU Autoconf 2.62. Invocation command line was

$ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedi
r=/var/lib --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = Apache3
uname -m = i686
uname -r = 2.6.23-hardened-r7-flot
uname -s = Linux
uname -v = #1 SMP Wed Apr 2 13:14:42 MSD 2008

/usr/bin/uname -p = AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.1
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.4.6

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2053: checking if debugging code should be compiled
configure:2073: result: no
configure:2127: checking for a BSD-compatible install
configure:2195: result: /usr/bin/install -c
configure:2206: checking whether build environment is sane
configure:2249: result: yes
configure:2274: checking for a thread-safe mkdir -p
configure:2313: result: /bin/mkdir -p
configure:2326: checking for gawk
configure:2342: found /bin/gawk
configure:2353: result: gawk
configure:2364: checking whether make sets $(MAKE)
configure:2386: result: yes
configure:2590: checking for i686-pc-linux-gnu-g++
configure:2606: found /usr/bin/i686-pc-linux-gnu-g++
configure:2617: result: i686-pc-linux-gnu-g++
configure:2692: checking for C++ compiler version
configure:2700: i686-pc-linux-gnu-g++ --version >&5
i686-pc-linux-gnu-g++ (GCC) 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2704: $? = 0
configure:2711: i686-pc-linux-gnu-g++ -v >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/us
r/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --inf
odir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --bu
ild=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --di
sable-libunwind-exceptions --disable-multilib --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --ena
ble-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10
Thread model: posix
gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)
configure:2715: $? = 0
configure:2722: i686-pc-linux-gnu-g++ -V >&5
i686-pc-linux-gnu-g++: `-V' option must have argument
configure:2726: $? = 1
configure:2749: checking for C++ compiler default output file name
configure:2771: i686-pc-linux-gnu-g++ -O2 -march=athlon -pipe -fomit-frame-pointer conftest.cpp >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure:2775: $? = 1
configure:2813: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "LZMA"
| #define PACKAGE_TARNAME "lzma"
| #define PACKAGE_VERSION "4.32.6"
| #define PACKAGE_STRING "LZMA 4.32.6"
| #define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
| #define NDEBUG 1
| #define PACKAGE "lzma"
| #define VERSION "4.32.6"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2820: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=athlon -pipe -fomit-frame-pointer'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -march=athlon -pipe -fomit-frame-pointer'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CXX=i686-pc-linux-gnu-g++
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/missing --run tar'
AR=''
AUTOCONF='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/missing --run automake-1.10'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS='-O2 -march=athlon -pipe -fomit-frame-pointer'
CPP=''
CPPFLAGS=''
CXX='i686-pc-linux-gnu-g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -march=athlon -pipe -fomit-frame-pointer'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77='no'
FFLAGS=''
GETOPT_H=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NMEDIT=''
OBJEXT=''
PACKAGE='lzma'
PACKAGE_BUGREPORT='lasse.collin@tukaani.org'
PACKAGE_NAME='LZMA'
PACKAGE_STRING='LZMA 4.32.6'
PACKAGE_TARNAME='lzma'
PACKAGE_VERSION='4.32.6'
PATH_SEPARATOR=':'
RANLIB=''
SDK_CFLAGS='-D_LZMA_IN_CB -D_LZMA_OUT_READ -D_LZMA_SYSTEM_SIZE_T -D_LZMA_PROB32'
SDK_CXXFLAGS='-DCOMPRESS_MF_BT -DCOMPRESS_MF_BT4 -DCOMPRESS_MF_HC'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='4.32.6'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/app-arch/lzma-utils-4.32.6/work/lzma-4.32.6/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "LZMA"
#define PACKAGE_TARNAME "lzma"
#define PACKAGE_VERSION "4.32.6"
#define PACKAGE_STRING "LZMA 4.32.6"
#define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
#define NDEBUG 1
#define PACKAGE "lzma"
#define VERSION "4.32.6"

configure: exit 77

А почему не

А почему не собрать это gcc поновее? Ведь у вас есть 4.1.1
http://forums.gentoo.org/viewtopic-t-294109.html

вообще

вообще проблема скорее всего не в lzma

checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Да вон там

Да вон там активный gcc ещё ветки 3.4
о-8Е


Пожалуйста, не описывайте своё железо в подписи

столкнулся с

столкнулся с аналогичной проблемой при установке системы с 0.
опыт установки небольшой - первый раз устанавливал года три назад, теперь на другой комп - второй.
решение нашел на linuxforum, и оно меня малость потрясло..

Цитата:
вписал вручную CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" вместо CXXFLAGS="${CFLAGS}".

никто с этим не сталкивался? - как-то странно это
может это быть связано с некорректным изменением CHOST c i486 на i686?

обалдеть!

только что с этим столкнулся, долго тупил. оказалось, нужно было вместо march=native поставить march=athlon-xp ))))

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

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