Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Срочно нужна помощь! проблема с emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
lian
n00b
n00b


Joined: 12 Jun 2007
Posts: 3
Location: Russia, Saratov

PostPosted: Tue Jun 12, 2007 11:57 am    Post subject: Срочно нужна помощь! проблема с em Reply with quote

Здравствуйте!

Unix системами занимаюсь ни первый день, но Gentoo занялся совсем недавно...

В очередной раз устанавливая 2006.1 наткнулся на такую ошибку:

При установке syslog-ng по зависимостям стала устонавливаться библиотека libol, во время конфигурации которой получил сообщение "C compiler cannot create executables".
Пробовал собирать и другие демоны логов, но на конфигурации того или иного пакета вылетает таже ошибка. Ядра установилось и скомпилилось нормально.
Не знаю, что бы это могло быть. Подскажите пожалуйста.

config.log

Code:
(chroot) livecd boot # cat /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

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

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

hostname = livecd
uname -m = i686
uname -r = 2.6.17-gentoo-r7
uname -s = Linux
uname -v = #1 SMP Mon Sep 18 01:26:27 UTC 2006

/usr/bin/uname -p = AMD Athlon(tm) XP 2100+
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
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/4.1.1


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

configure:1538: checking for a BSD-compatible install
configure:1593: result: /bin/install -c
configure:1604: checking whether build environment is sane
configure:1647: result: yes
configure:1680: checking for gawk
configure:1696: found /bin/gawk
configure:1706: result: gawk
configure:1716: checking whether make sets $(MAKE)
configure:1736: result: yes
configure:1924: checking whether build environment is sane
configure:1967: result: yes
configure:1978: checking for x86-pc-linux-gnu-gcc
configure:2007: result: no
configure:2016: checking for gcc
configure:2032: found /usr/bin/gcc
configure:2042: result: gcc
configure:2286: checking for C compiler version
configure:2289: gcc --version </dev/null >&5
gcc (GCC) 4.1.1 (Gentoo 4.1.1)
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:2292: $? = 0
configure:2294: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
configure:2297: $? = 0
configure:2299: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2302: $? = 1
configure:2325: checking for C compiler default output file name
configure:2328: gcc -march=k7 -O2 -pipe   conftest.c  >&5
conftest.c:1: error: bad value (k7) for -march= switch
conftest.c:1: error: bad value (k7) for -mtune= switch
configure:2331: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2370: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=k7 -O2 -pipe'
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='-march=k7 -O2 -pipe'
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_build_alias_set=set
ac_cv_env_build_alias_value=x86-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/missing --run aclocal-1.7'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/missing --run tar'
AR=''
AUTOCONF='${SHELL} /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/missing --run automake-1.7'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=k7 -O2 -pipe'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=k7 -O2 -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/libol-0.3.18/work/libol-0.3.18/missing --run makeinfo'
MAKE_CLASS=''
OBJEXT=''
PACKAGE='libol'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SCSH=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.3.18'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='x86-pc-linux-gnu'
build_alias='x86-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
exec_prefix='NONE'
host='x86-pc-linux-gnu'
host_alias='x86-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/libol-0.3.18/work/libol-0.3.18/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77
Back to top
View user's profile Send private message
KUV
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2005
Posts: 128

PostPosted: Tue Jun 12, 2007 6:06 pm    Post subject: Reply with quote

Это не смущает?
Code:
conftest.c:1: error: bad value (k7) for -march= switch
conftest.c:1: error: bad value (k7) for -mtune= switch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum